E
E
Evgeny Ivanov2018-08-10 08:24:48
Delphi
Evgeny Ivanov, 2018-08-10 08:24:48

How to work with dbf fox pro (dBase IV)?

Installed Delphi 7 (2000s) and RAD Studio 10.1 Berlin (relatively new).
It is required to work (read and write) with dbf fox pro (dBase IV). Moreover, with one base.dbf file (according to the standard, there should be two of them).
What component can do this?
Used Delphi 7+TDBF 1.11 earlier. But there dates from a DB are read incorrectly.
Namely, the date 11/11/1980 is read as 11/1/80. And the date 11/11/18 is already incomprehensible 1918 or 2018?
Works, reads and writes. If you initially know that the dates are dates of birth, you can correct and supplement them.
But the dates are different. And you can’t add logic to 11/11/18 to yyyy (1918 or 2018?)
The new version of TDBF 701 contains multiple compilation errors. And for RAD Studio 10.1 Berlin - there is no Berlin version (there is one for Tokyo). The previous ones (Delphi 8-7-6..) don't compile either.
Pay attention dbf fox pro (dBase IV).
Many modern components will work with dbf, but not all with dbf fox pro. And those that will work with dbf fox pro will require additional files - in addition to base.dbf, since according to the standard there should be several files.
How to work with dbf fox pro (dBase IV)?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vapaamies, 2018-08-12
@vapaamies

Namely, the date 11/11/1980 is read as 11/1/80. And the date 11/11/18 is already incomprehensible 1918 or 2018?

Is the full date stored in the database itself? If so, I would look at the reading code if I were you and correct it. If, as you say, the new version produces too many compilation errors.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question