Mega Code Archive

 
Categories / Delphi / ADO Database
 

Making sure changes survive a power failure

Question: How do I make sure that my data is saved to disk and has the greatest chance of surviving something unexpected, like a power failure? Answer: ? ?Call DbiSaveChanges ?Call TTable.FlushBuffers ?Set LOCAL SHARE to TRUE in the BDE Configuration Tool ?