# Direct access methods for paradox .db files

**URL:** <https://forum.xojo.com/t/direct-access-methods-for-paradox-db-files/79987>\
**Category:** Databases\
**Created:** [April 16, 2024, 12:36pm UTC](https://forum.xojo.com/t/direct-access-methods-for-paradox-db-files/79987 "2024-04-16T12:36:30Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rolf\_Genster](https://forum.xojo.com/letter_avatar_proxy/v4/letter/r/45deac/32.png) [@Rolf\_Genster](https://forum.xojo.com/u/Rolf_Genster)\
**Post date:** [April 16, 2024, 12:36pm UTC](https://forum.xojo.com/t/direct-access-methods-for-paradox-db-files/79987/1 "2024-04-16T12:36:31Z")

</div>

Hello,  
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?

---

<div class="post-metadata">

**Author:** ![Rick\_Araujo](https://forum.xojo.com/user_avatar/forum.xojo.com/rick_araujo/32/251_2.png) [@Rick\_Araujo](https://forum.xojo.com/u/Rick_Araujo)\
**Post date:** [April 16, 2024, 1:51pm UTC](https://forum.xojo.com/t/direct-access-methods-for-paradox-db-files/79987/2 "2024-04-16T13:51:20Z")

</div>

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.

 ![image](https://forum.xojo.com/uploads/default/original/3X/1/a/1a0ac2f562b9df053dcfb93c20cd4d565fb9c774.png)

https://www.wordperfect.com/en/pages/ **old-brands** /corel-paradox/

> **[WordPerfect Office | Free Trial](https://www.wordperfect.com/en/pages/old-brands/corel-paradox/)**
>
> See why WordPerfect Office is a legendary leader in office suites! Whether you're a student or professional, if you want true office suite power, WordPerfect Office has an option for you at the price you need. Try it free today.

---

<div class="post-metadata">

**Author:** ![Jean-Yves\_Pochez](https://forum.xojo.com/user_avatar/forum.xojo.com/jean-yves_pochez/32/21769_2.png) [@Jean-Yves\_Pochez](https://forum.xojo.com/u/Jean-Yves_Pochez)\
**Post date:** [April 16, 2024, 5:11pm UTC](https://forum.xojo.com/t/direct-access-methods-for-paradox-db-files/79987/3 "2024-04-16T17:11:38Z")

</div>

> 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 ?

> **[GitHub - teverett/paradoxReader: Paradox DB File Reader](https://github.com/teverett/paradoxReader)**
>
> Paradox DB File Reader. Contribute to teverett/paradoxReader development by creating an account on GitHub.

---

<div class="post-metadata">

**Author:** ![Rick\_Araujo](https://forum.xojo.com/user_avatar/forum.xojo.com/rick_araujo/32/251_2.png) [@Rick\_Araujo](https://forum.xojo.com/u/Rick_Araujo)\
**Post date:** [April 16, 2024, 6:46pm UTC](https://forum.xojo.com/t/direct-access-methods-for-paradox-db-files/79987/4 "2024-04-16T18:46:40Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![Jean-Yves\_Pochez](https://forum.xojo.com/user_avatar/forum.xojo.com/jean-yves_pochez/32/21769_2.png) [@Jean-Yves\_Pochez](https://forum.xojo.com/u/Jean-Yves_Pochez)\
**Post date:** [April 16, 2024, 7:37pm UTC](https://forum.xojo.com/t/direct-access-methods-for-paradox-db-files/79987/6 "2024-04-16T19:37:00Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![Rick\_Araujo](https://forum.xojo.com/user_avatar/forum.xojo.com/rick_araujo/32/251_2.png) [@Rick\_Araujo](https://forum.xojo.com/u/Rick_Araujo)\
**Post date:** [April 16, 2024, 7:54pm UTC](https://forum.xojo.com/t/direct-access-methods-for-paradox-db-files/79987/7 "2024-04-16T19:54:00Z")

</div>

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

> **[best paradox to sqlite converter](http://www.whiterocksoftware.com/2022/07/best-paradox-to-sqlite-converter.html)**
>
> Paradox to Sqlite here is video on how to convert Paradox db file to new or existing Sqlite database: If you want to automate con...

---

<div class="post-metadata">

**Author:** ![Rolf\_Genster](https://forum.xojo.com/letter_avatar_proxy/v4/letter/r/45deac/32.png) [@Rolf\_Genster](https://forum.xojo.com/u/Rolf_Genster)\
**Post date:** [April 17, 2024, 4:11am UTC](https://forum.xojo.com/t/direct-access-methods-for-paradox-db-files/79987/8 "2024-04-17T04:11:53Z")

</div>

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!

---

<div class="post-metadata">

**Author:** ![Rick\_Araujo](https://forum.xojo.com/user_avatar/forum.xojo.com/rick_araujo/32/251_2.png) [@Rick\_Araujo](https://forum.xojo.com/u/Rick_Araujo)\
**Post date:** [April 17, 2024, 5:05am UTC](https://forum.xojo.com/t/direct-access-methods-for-paradox-db-files/79987/9 "2024-04-17T05:05:22Z")

</div>

> [@Rolf\_Genster](#):
>
> I hoped I don’t have to invent the wheel again.

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

[https://pxlib.sourceforge.net/documentation.php](https://pxlib.sourceforge.net/documentation.php)

---

<div class="post-metadata">

**Author:** ![Matthew\_Stevens](https://forum.xojo.com/letter_avatar_proxy/v4/letter/m/c4cdca/32.png) [@Matthew\_Stevens](https://forum.xojo.com/u/Matthew_Stevens)\
**Post date:** [April 17, 2024, 11:46am UTC](https://forum.xojo.com/t/direct-access-methods-for-paradox-db-files/79987/10 "2024-04-17T11:46:34Z")

</div>

> [@Rolf\_Genster](#):
>
> 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.

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

---

<div class="post-metadata">

**Author:** ![Marc\_Elliott](https://forum.xojo.com/letter_avatar_proxy/v4/letter/m/9f8e36/32.png) [@Marc\_Elliott](https://forum.xojo.com/u/Marc_Elliott)\
**Post date:** [September 5, 2024, 12:58pm UTC](https://forum.xojo.com/t/direct-access-methods-for-paradox-db-files/79987/11 "2024-09-05T12:58:04Z")

</div>

Hi Rick,  
Regarding Direct access methods for paradox .db files (from Apr 17).  
I have the same issues as a personal user of a paradox application. Years ago I found that my MS Access XP pro could natively attach and read the paradox tables. So I continued using the great app that I owned, knowing I could use Assess to easily get at the data tables (and figure out the relationships and keyfields). I now understand MS was forced to remove the connector from subsequent versions of Access.  
Hopefully you can help me. I’ve not had luck opening the files, which I believe are paradox 6 (or possibly 5). I am not a programmer but fairly comfortable with the Access VBA module. [Perhaps I just need to keep flaying around with the Windows 32 bit ODBC Data Sources Tool.] Any guidance or advise would be helpful.  
Marc

---

<div class="post-metadata">

**Author:** ![Rick\_Araujo](https://forum.xojo.com/user_avatar/forum.xojo.com/rick_araujo/32/251_2.png) [@Rick\_Araujo](https://forum.xojo.com/u/Rick_Araujo)\
**Post date:** [September 5, 2024, 2:55pm UTC](https://forum.xojo.com/t/direct-access-methods-for-paradox-db-files/79987/12 "2024-09-05T14:55:09Z")

</div>

You should’ve moved away from Paradox 15 years ago. 🫠

Try this tool (at your own risk) to try to convert it to an Access MDB and see if you can access it.

> **[create mdb file from jsom xml html vcf and kml](http://www.whiterocksoftware.com/2023/07/create-mdb-file-from-jsom-xml-html-vcf.html#ParadoxdbToAccess)**
>
> Xml to Mdb Json to Mdb Html to Mdb Text to Mdb Word to Mdb Vcf to Mdb Kml to Mdb Kmz to Mdb Paradox db To Access...
