I have a form that has two subforms. I have a button that exits out of this form, when the user clicks it it first "undo's" any changes made and then exits (I have a specific button for saving also). I have the following code in the OnClick event of this button:
'Runs an Undo command to undo any changes
DoCmd.DoMenuItem acFormBar, acEditMenu, acUndo, , acMenuVer70
'Closes the window
DoCmd.Close
However I need to undo any changes made in either of the two subforms as well, how do I do this?
Thanks,
Liam
'Runs an Undo command to undo any changes
DoCmd.DoMenuItem acFormBar, acEditMenu, acUndo, , acMenuVer70
'Closes the window
DoCmd.Close
However I need to undo any changes made in either of the two subforms as well, how do I do this?
Thanks,
Liam