Solved

Undo Changes in a subform record

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

Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
vba DCount with 2 criteria 3 33
Access Runtime 2010 Error 17 29
MS Access Tables Linking 6 40
how to link subforms ms/access VBA 6 26
When you are entering numbers in a speadsheet, and don't remember what 6×7 is, you just type “=6*7" instead. It works in every cell! This is not so in Access. To enter the elusive 42 in a text box, you have to find a calculator, and then copy the re…
I see at least one EE question a week that pertains to using temporary tables in MS Access.  But surprisingly, I was unable to find a single article devoted solely to this topic. I don’t intend to describe all of the uses of temporary tables in t…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
In Microsoft Access, learn different ways of passing a string value within a string argument. Also learn what a “Type Mis-match” error is about.

930 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

12 Experts available now in Live!

Get 1:1 Help Now