Free Lessons
Courses
Seminars
TechHelp
Fast Tips
Templates
Topic Index
Forum
ABCD
 
Home   Courses   TechHelp   Help   Contact   Merch   Join   Order   Logon   Forums   
 
Back to Access Forum    Comments List
Upload Images   @Reply   Bookmark    Link   Email   Next Unseen 
Cancel Button
Maria Furnari 
   
2 years ago
How do I get my Cancel Button on the main form to cancel changes made to subform as well?
Sami Shamma  @Reply  
             
2 years ago
Go to the property of the button.
Go to the "Other" tab.
Set "Cancel" to yes.
Richard Rost  @Reply  
          
2 years ago
I'm afraid you can't cancel changes to the records in the subform easily.
Sami Shamma  @Reply  
             
2 years ago
Ops. I should have read your question closely. I missed the part of the subform.
Kevin Yip  @Reply  
     
2 years ago
Hi Maria, if you want to undo even after you leave the subform (and/or close the main form altogether), then you would need to create an "undo history" for the subform.  You would need to implement this on your own because Access doesn't have this capability built-in.  This would be a complicated job even for the best of Access developers because of the numerous things involved.  You would need to able to undo ALL EDITS (or it would be pointless to have an undo feature), and so you would need to save every single change that happens to a subform: new records added, existing records deleted or changed, field value changes, format changes in rich text fields (font name and size changes, etc.), etc.

An undo feature is mainly about undoing user entries.  But Access applications aren't always about user entries, since many of the changes to data may occur "behind the scenes," such as append and update queries executed with VBA code without the user knowing.  A good Access application tries to *minimize* user inputs, because manual data entry is prone to typos and other mistakes.  If user action is minimized, there is little need for an undo feature.  Word and Excel are mostly about manual data entries, so their undo/redo features are of greater use.

This thread is now CLOSED. If you wish to comment, start a NEW discussion in Access Forum.
 

Next Unseen

 
New Feature: Comment Live View
 
 

The following is a paid advertisement
Computer Learning Zone is not responsible for any content shown or offers made by these ads.
 

Learn
 
Access - index
Excel - index
Word - index
Windows - index
PowerPoint - index
Photoshop - index
Visual Basic - index
ASP - index
Seminars
More...
Customers
 
Login
My Account
My Courses
Lost Password
Memberships
Student Databases
Change Email
Info
 
Latest News
New Releases
User Forums
Topic Glossary
Tips & Tricks
Search The Site
Code Vault
Collapse Menus
Help
 
Customer Support
Web Site Tour
FAQs
TechHelp
Consulting Services
About
 
Background
Testimonials
Jobs
Affiliate Program
Richard Rost
Free Lessons
Mailing List
PCResale.NET
Order
 
Video Tutorials
Handbooks
Memberships
Learning Connection
Idiot's Guide to Excel
Volume Discounts
Payment Info
Shipping
Terms of Sale
Contact
 
Contact Info
Support Policy
Mailing Address
Phone Number
Fax Number
Course Survey
Email Richard
[email protected]
Blog RSS Feed    YouTube Channel

LinkedIn
Copyright 2026 by Computer Learning Zone, Amicron, and Richard Rost. All Rights Reserved. Current Time: 8/7/2026 11:30:36 PM. PLT: 0s