ACCESS: Emulate Title Bar "X" Close Button ???
Esteemed Forum Participants and Lurkers:
Access 97 vba
We are trying to install a "Submit" button on a user input form and we need to close the form from the "click" event handler. In my vba code module, how can I close an Access Form so that it closes EXACTLY the same way it closes when the Title Bar "X" Close button is clicked?
I've tried "DoCmd.Close", but if there are any empty "Required" fields, it does NOT pop up any warning messages (the Title Bar "Close" does), and it does NOT update the record. How can I call or exactly emulate the Title Bar "X" Close button handler?
Thank you for your comments, suggestions, and assistance.