>Hi all,
>Is there a simple way to test if user has modified values in texbox, grid etc. on a form ? So if user undo his work, I know if must save or simply release data.
>
>Thanks for help
>Dino
Dino,
If controls are bound to data (controlsources have table.field) then simply use GetNextModified() and/or GetFldState(-1)
Otherwise you need to loop all controls and check values. It's not an easy task (check FoxyClasses for a sample) really, a simple trick could be to 'Save' w/o TableUpdate() (for things to do if any) and just before TableUpdate() use GetNextModified() and/or GetFldState(-1). TableUpdate() with results from those functions.
Cetin