Login | Register   
LinkedIn
Google+
Twitter
RSS Feed
Download our iPhone app
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   FORUMS  |   TIP BANK
Browse DevX
Sign up for e-mail newsletters from DevX


Tip of the Day
Language: Relational Databases
Expertise: Beginner
Nov 4, 1998

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.
DevX Pro
 
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

Sitemap