I have a form that has a button with the code:
DoCmd.GoToRecord acDataForm, "frm_Clients_0", acNewRec
I need a way to stop the new record if a button is clicked to discard changes. Have tried the me.undo but that does not work. Is there a way to stop the record being entered. THANKS!
DoCmd.GoToRecord acDataForm, "frm_Clients_0", acNewRec
I need a way to stop the new record if a button is clicked to discard changes. Have tried the me.undo but that does not work. Is there a way to stop the record being entered. THANKS!