Access: using one form to undo changes on another form

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I'm trying to use a "pop-up" form to confirm back out of a main form without
making changes to the database. I can't seem to figure out the VBA code to
undo the changes on the first form by pressing a button on the second form.
Any ideas?
 
Can you not just use a msgbox to give confirmation of pressing your *cancel*
button and then just use:

If Me=Dirty Then
Me.Undo
End If

If they accept (Yes, Confirm etc)

TonyT..
 
Thanks Tony, Message Box did the job. Not exactly the customized feel I was
going for, but it works great!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top