exit without updating

cadillac

Registered User.
Local time
Yesterday, 22:27
Joined
May 9, 2001
Messages
34
what code can i use in a command button to exit the form without the beforeupdate events happening? this will be an escape for the user if they suddenly don't want to use the form any longer.

thanks
 
cadillac

search access help for 'dirty' I think this will do what you're looking for

Norman
 
You can use this code for the command button

If me.form.dirty then
me.form.undo
end if

I beleive this will work.
 
Theprez

Thanks for that, it's a lot easier than the access help method!
 

Users who are viewing this thread

Back
Top Bottom