Does someone have an example of code that detects if data has changed on a form?
Something like:
If change detected then undo changes
else do not save the record
I have an initial form that lists data (view only). I then have Add, Update, and Delete command buttons that open individual forms. On the next form, I want to have code that cancel the changes (if any have occurred). I used the UNDO option but if no changes have occured, it gives an error.
Something like:
If change detected then undo changes
else do not save the record
I have an initial form that lists data (view only). I then have Add, Update, and Delete command buttons that open individual forms. On the next form, I want to have code that cancel the changes (if any have occurred). I used the UNDO option but if no changes have occured, it gives an error.