Board index » delphi » check if record of TTable being modified ?

check if record of TTable being modified ?

Hello

Is there a way to check if a record of TTable is being modified?

If the TTable is set in edit mode, then the user does not
modify anything and then, say, click the save button. The program will not
need to update anything.
If the user does modify something, the datestamp will be updated.

It is tedious to compare all fields of a TTable.
Is there a simple way to do so?

Thanks

 

Re:check if record of TTable being modified ?


Have a look at the 'Modified' property.

HTH
Mark

Re:check if record of TTable being modified ?


See the TTable.Modified property in the on-line help.

--
Bill

Other Threads