0

我正在尝试将旧的 Dbase 应用程序转换为 .NET / MS SQL。

我没有问题让链接服务器启动并运行,这样我就可以将 Dbase DBF 数据转换为 SQL 表格式,但是在与原始应用程序进行交叉检查时,我注意到有 dbase 'memo' 字段数据不导入,因为此数据以单独的“FlexFile 3”格式存储在相应的 .DBV 文件中。即orders.dbf/orders.dbv

我曾尝试使用带有扩展 prpoerties =dBase 5.0 的 Microsoft.Jet.OLEDB.4.0 提供程序,但问题是备忘录字段显示为空字符串。如果有orders.dbf 和orders.dbt 文件,代码可以很好地读取文件。

我花了很多时间在互联网上寻找解决方案,但没有运气!感谢此论坛中有关此主题的任何帮助。

谢谢。

4

1 回答 1

0

Two possible solutions: First, if you have an clipper compiler with the flexfile library, you can write a small converter program (found that hint on a delphi site in german language)

Second, you have to analyze how the pointer in the DBF file is used: Basically, a memo file always have to be somehow a pointer to a block of data in another file (the details differ between different implementations of a memo field). Once you have found the style of the pointer (byte address, or maybe a block address, either written in human readable value or binary encoded) you have to read the dbv file.

Should not be a great task

于 2018-04-04T09:45:26.300 回答