Hi.
I've been thinking about creating a log of all transactions in my database as a safeguard against data corruption. If I had a log that consisted of ordered SQL statements, the database could be rebuilt up to the last successful update via those logged SQL statements, right?
In my database, all updates to the data are done through unbound forms via ADO. Is was thinking that each update done through ADO could somehow get logged in a separate file, like a running text file that basically contained sql statements that represented each of the transactions that have happened in the database.
Has anyone done anything like this? I'm purely in Access (my database is split into a front and back end), so no SQL Server stuff is allowed.
Whenever data tables are updated via ADO, behind the scenes an SQL statement is generated, right? Is there any way to get at these generated SQL statements so I can save them to a text file (or as individual records in a separate database)?
Or is there another solution (other than backing the database up regularly, which I also do)? I'm paranoid about losing data and want to do everything I can to prevent it.
Duluter
I've been thinking about creating a log of all transactions in my database as a safeguard against data corruption. If I had a log that consisted of ordered SQL statements, the database could be rebuilt up to the last successful update via those logged SQL statements, right?
In my database, all updates to the data are done through unbound forms via ADO. Is was thinking that each update done through ADO could somehow get logged in a separate file, like a running text file that basically contained sql statements that represented each of the transactions that have happened in the database.
Has anyone done anything like this? I'm purely in Access (my database is split into a front and back end), so no SQL Server stuff is allowed.
Whenever data tables are updated via ADO, behind the scenes an SQL statement is generated, right? Is there any way to get at these generated SQL statements so I can save them to a text file (or as individual records in a separate database)?
Or is there another solution (other than backing the database up regularly, which I also do)? I'm paranoid about losing data and want to do everything I can to prevent it.
Duluter