I need examples of VBA code with Cancel Event

Sergio

Registered User.
Local time
Today, 11:38
Joined
Feb 28, 2002
Messages
42
I looking for examples of VBA code working with Cancel Event.

Tks in advance!
 
We assume this relates to this post http://www.access-programmers.co.uk/ubb/Forum1/HTML/008348.html
there is a search button here which will a great many examples of using this code, but you should be aware that you cannot cancel the main form from a sub since the record is automatically saved as soon as you start entering data in the subform, you'll have to delete the main form record if you don't want to save it.
 
Tks for your comments. I'll keep in mind your warning
 

Users who are viewing this thread

Back
Top Bottom