October 12th, 2012, 07:52 AM
Find out Modified Dataset
I'm working in an application which is using around 1186 datasets [TDataSet].
One of those dataset has been modified while i just open and close a form, i got the conformation message as
'Do you want to save changes '.
I found out that dataset too. But i could not find the modification which has been taken place in that particular dataset.
Event handlers assigned for that particular dataset:
I set trace on all the event handlers,But no use
Note: I just open and close the form, i got the message
Thanks in advance...
October 12th, 2012, 09:02 AM
for debugging purposes, take the query or table component that the dataset is connected to and set it to readonly. If and when an attempt to modify a row is made, you should get an error, if there's no error, and you still get the message, then your application has probably been coded to simply ask for confirmation regardless of any real changes.
Hope this helps.