Solved

Undo Changes in a subform record

Posted on 2009-07-09
3
343 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

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Introduction When developing Access applications, often we need to know whether an object exists.  This article presents a quick and reliable routine to determine if an object exists without that object being opened. If you wanted to inspect/ite…
Describes a method of obtaining an object variable to an already running instance of Microsoft Access so that it can be controlled via automation.
Familiarize people with the process of retrieving data from SQL Server using an Access pass-thru query. Microsoft Access is a very powerful client/server development tool. One of the ways that you can retrieve data from a SQL Server is by using a pa…
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…

760 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

Need Help in Real-Time?

Connect with top rated Experts

24 Experts available now in Live!

Get 1:1 Help Now