View Single Post
  #4  
Old July 8th, 2005, 06:29 PM
Rick Brandt
external usenet poster
 
Posts: n/a
Default

Mico wrote:
Oh, my bad, man.

I want a standard "Cancel" button, you know, the kind that closes out
the form and does nothing else. Like, if you got a popup and you
clicked "Cancel" and it just goes away and does no harm. That kind
of cancel button. I had a brain fart.


But what is the "nothing else" that you don't want to happen? To close the
form you simply need...

DoCmd.Close

If you want any changes the user might have made while in the form to be
"cancelled" then that is another issue entirely. Access automatically saves
when you leave a record to go to another record or when you close the form
as well as a few other places. Is it your intention that ALL changes to ALL
records be cancelled or do you just want to close the form?

--
I don't check the Email account attached
to this message. Send instead to...
RBrandt at Hunter dot com