Direct access methods for paradox .db files

I know there are odbc drivers at least for microsoft, but since my tool has to be cross platform I would like to access the files direct via code.

Does someone already have some code written and is willing to share it?

Paradox is a dead technology. You won’t find support from the inventors, nor from Corel (who bought it), imagine here.

You should’ve migrated your DB technology in the last 20 years, but as you didn’t you should now.

Unfortunately, Borland has never documented the Paradox file format, so there’s no definitive information available.
Paradox tables (DB and MB) could be password encrypted, which may be why you could not read the data, if you do not have the password.

may be some reverse of this code could help ?

You need a Windows XP VM and an old MS Access installed. With MS Access (from that age) the Paradox ODBC driver comes installed.

There you could read the files and export the contents to move away from Paradox.

in the github link I gave above, there is a file explaining the paradox 4 file format.
you still have to build the code for it !

edit: there is also a pascal unit to access the file, so the translation to xojo should be easier than expected.

Too much trouble to convert the data. I would pay $16 for this:

Rick, I absolutly agree. Personally I use PostGre or MariaDB. But there is always a but:
One of my clients has an really old medical program, no source, programmer gone, a complex application with no alternative yet. Coding that monster new will take a long time. Now he needs a tool to extract data from the databases while they still work with it… So here I go.

I hoped I don’t have to invent the wheel again.

Thank’s to all for the hints and leads!

1 Like

In case of needing to reinvent the wheel, C version documented:

1 Like

If you only need to read there is always the TParadoxDataSet component for Lazarus / Free Pascal.