Code or Tools to Export FoxPro to dBase

谁说我不能喝 提交于 2019-12-13 03:19:32

问题


I want to convert FoxPro table into dBase IV table. Can someone help me?

That could be a code snippet or a third party tool that works with c#

Prasanna


回答1:


Are you familiar with wikipedias article on xbase?

What about the dbf file structure specification?

FoxPro and DBase are variants of XBase. However as you read the spec you'll see there are some important differences.

I've never had a need to convert between the two. If faced with the need, I would either use codebase or xbase. I've used codebase in C++ once in the past. It was fast, effective, easy to use, and fairly stable. I've never used xbase. Despite being commercial codebase comes with sourcecode -- handy if you need to fix a bug in the library, or do some other customizations. xBase, being open source, I would assume, has similar flexibility.




回答2:


DBase and FoxPro tables are very similar. But to convert a FoxPro table to DBase, try this from the VFP command window:

USE someFoxproTable COPY TO someOtherTableName TYPE FOXPLUS CLOSE ALL



来源:https://stackoverflow.com/questions/1814375/code-or-tools-to-export-foxpro-to-dbase

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!