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.