Solved

Undo Changes in a subform record

Posted on 2009-07-09
3
346 Views
Last Modified: 2013-11-28
I have a parent form with a child form, the Undo button is located in the parent form. I need it to reset the record to whatever has been committed last ignoring all un-saved changes.
I tried
Me.Undo
but it ends up saving the changes.
0
Comment
Question by:MariamAlsowaidi
  • 2
3 Comments
 
LVL 46

Accepted Solution

by:
tbsgadi earned 500 total points
ID: 24812735
Hi Mariam,

Try putting the button in the subform. or something like Me!subformname.form.undo


Gary
0
 

Author Comment

by:MariamAlsowaidi
ID: 24812769
It worked once I put it in the subform, it didn't work when I used the other method though.

Thanks
Mariam
0
 
LVL 46

Expert Comment

by:tbsgadi
ID: 24812786
The problem is probably that as soon as you go from the subform to the mainform it updates.
Glad to help!
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article is a continuation or rather an extension from Cascading Combos (http://www.experts-exchange.com/A_5949.html) and builds on examples developed in detail there. It should be understandable alone, but I recommend reading the previous artic…
Phishing attempts can come in all forms, shapes and sizes. No matter how familiar you think you are with them, always remember to take extra precaution when opening an email with attachments or links.
In Microsoft Access, learn how to use Dlookup and other domain aggregate functions and one method of specifying a string value within a string. Specify the first argument, which is the expression to be returned: Specify the second argument, which …
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

828 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question