I'm having problems trying to create a piece of code that will close a form in either of two ways depending on what the user does.
If the user changes the contents of any of the textboxes, I want the close button to prompt them to save the record.
If they choose "yes", then it should save the record but if the choose "No" it should close the form without saving any changes.
I can get the saving part to work but I can't find a way to prevent Access from saving changes to the record.
Any help is greatly appreciated!
If the user changes the contents of any of the textboxes, I want the close button to prompt them to save the record.
If they choose "yes", then it should save the record but if the choose "No" it should close the form without saving any changes.
I can get the saving part to work but I can't find a way to prevent Access from saving changes to the record.
Any help is greatly appreciated!