D
dch3
I have code in a 'CLOSE' button that checks to see if the user has added a
new recorded or started to edit an existing record. The code presents the
user with the option to Save changes & close, Discard changes & close or
Cancel closing the form.
I'd like to have the same code execute when the user clicks on the form's
close button. Which FORM event should I use? onClose has no Cancel and
onUnload fails as Access saves the record prior to the even firing.
new recorded or started to edit an existing record. The code presents the
user with the option to Save changes & close, Discard changes & close or
Cancel closing the form.
I'd like to have the same code execute when the user clicks on the form's
close button. Which FORM event should I use? onClose has no Cancel and
onUnload fails as Access saves the record prior to the even firing.