Solved

Undo Changes in a subform record

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

Backup Your Microsoft Windows Server®

Backup all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Question has a verified solution.

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

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…
A simple tool to export all objects of two Access files as text and compare it with Meld, a free diff tool.
Familiarize people with the process of utilizing SQL Server functions from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Microsoft Ac…
Learn how to number pages in an Access report over each group. Activate two pass printing by referencing the pages property: Add code to the Page Footers OnFormat event to capture the pages as there occur for each group. Use the pages property to …

808 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