i am using
DoCmd.DoMenuItem acFormBar, acEditMenu, acUndo, , acMenuVer70
in a form
when a user types in anything, but decides not to save. they will click on close..
the :DoCmd.DoMenuItem acFormBar, acEditMenu, acUndo, , acMenuVer70
is for the close button but if the user didnt type in...