Code or Tools to Export FoxPro to dBase

2019-08-23 03:48发布

问题:

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



标签: c# foxpro dbase