I'm using Delphi 4, have a very simple single user database running, consisting of only 1 DataSource component, and 1 table component.
New entries, edits, & deletes all show up fine when I display the table. The problem is: These changes do not get written to the hard disk until I actually close the database.
This is driving me crazy, since any time the computer loses power or (I swear it wasn't me) get's turned off incorrectly, I lose all of the changes that were made since the last correct closing of the database. This program runs all the time, and doesn't normally ever get closed.
What can I do to force these changes to be written to disk?
New entries, edits, & deletes all show up fine when I display the table. The problem is: These changes do not get written to the hard disk until I actually close the database.
This is driving me crazy, since any time the computer loses power or (I swear it wasn't me) get's turned off incorrectly, I lose all of the changes that were made since the last correct closing of the database. This program runs all the time, and doesn't normally ever get closed.
What can I do to force these changes to be written to disk?