G
Geoff
I have a MsgBox popup which tells the user that the record has not been
saved on an unbound form if they try to close the form without posting. I
was hoping to use the CancelEvent function to stop the form from closing if
they picked cancel except I get a Run-time Error 2001 "You Canceled the
previous operation" which I don't want to appear. I've tried On Error Resume
Next and Application.DoCmd.SetWarning False but I can't stop the dialog from
popping up. Any suggestions?
saved on an unbound form if they try to close the form without posting. I
was hoping to use the CancelEvent function to stop the form from closing if
they picked cancel except I get a Run-time Error 2001 "You Canceled the
previous operation" which I don't want to appear. I've tried On Error Resume
Next and Application.DoCmd.SetWarning False but I can't stop the dialog from
popping up. Any suggestions?