View Single Post
  #3  
Old May 20th, 2010, 08:46 PM posted to microsoft.public.access.forms
PieterLinden via AccessMonster.com
external usenet poster
 
Posts: 307
Default Don't add record

Mike from Moriches wrote:
Greetings-
This must be easy. I have an input form attached to a file. I have a
command button labeled "Cancel" with an "on-click" event "DoCmd.Close" I
enter some data, but decide not to add the record. I click the Cancel
command button, but the messed up record is inserted into the file. What
command or event do I use to close the form without adding a record?
Thank-you,
Mike


Me.Undo

--
Message posted via AccessMonster.com
http://www.accessmonster.com/Uwe/For...forms/201005/1