I want to use the ME.UNDO command to prevent changes when closing a form in Access 2013.
I have a form that links to a table which contains a worklist. This form is read-only to prevent accidental changes.
To make changes, the user needs to double-click an item to bring up another form, which is related to this particular work item, then make changes on it.
I have a save button for the user to click to save the changes. If the user just closes this form, I do not want to save the changes.
I am using me.undo in the close event (and this is the only code line in that event). It is still saving the change in the worklist form.
If Me.undone Then WoeIsMe- ThunderFrame