I have an application using TADODataSet
and TADOConnection
to connect with SQL Server database.
I would like to detect any modification that happens in the database.
modifications = Insert, Update, Delete
I want to know which TADODataset
or which table has been modified.
I'm doing this because I have a multi-user application that works over local network. The users may add, delete or edit records in tables so I want to refresh the datasets to show the new modifications.
Also I want this to build a log.
I don't want to use TTime
to keep watching the modifications.
I don't want to use triggers
I prefer a message from TADOConnection
.
I'm using SQL Server 2005 and Delphi 2007 with ADO components.
New modification : I need it on SQL Server 2000
Regards.