View Full Version : Canceling an Event


Mark Jones
03-21-2000, 07:11 PM
I have just started using Access 2000.
I have code hung on the on-close event.
In that code, at one point, I call
DoCmd.CancelEvent to stop the closing of the
form. This code worked just fine in
Access 97 but is just being ignored in
Access 2000, no errors - just ignored.
i.e. the form closes no matter what I do.
Note: I am closing the form by clicking on the x box at the upper right of the form.
Any ideas?

Thanks in advance.

Mark Jones