devxlogo

Writing to Paradox Tables With Delphi

Writing to Paradox Tables With Delphi

Question:
I am unable to post records permanently to Paradox tables using Delphi 3. The records appear in the table object but disappear after I exit Delphi and start another session later. I don’t get any error messages. I can also see the records using the Database Desktop but not after I exit and restart Delphi. Can you help me?

Answer:
A bit of buffering goes on behind the scenes when you’re working with the BDE. To ensure that you can see things immediately, try using the following procedure:

dbiSaveChanges(Table1.Handle);

This procedure will force the table to write to disk. Be sure to declare BDE in your uses clause in order to use this function.

devxblackblue

About Our Editorial Process

At DevX, we’re dedicated to tech entrepreneurship. Our team closely follows industry shifts, new products, AI breakthroughs, technology trends, and funding announcements. Articles undergo thorough editing to ensure accuracy and clarity, reflecting DevX’s style and supporting entrepreneurs in the tech sphere.

See our full editorial policy.

About Our Journalist