troubleshooting Question

Save Button - Undo Null Subform Record

Avatar of alliedtech
alliedtech asked on
Microsoft Access
9 Comments1 Solution2276 ViewsLast Modified:
I have a command button intended to save the record and subform records on a form.  

The subform has code in the before update event that test for null values and prevents the user from proceeding to another field until the errot test is passed.  The problem arises if the user begins to enter data, deletes the data, and then decides to save the form.  The save is not allowed because there are null values in the last record of the subform.  I need to undo the last record if there are null values and the users wishes to save.
DatabaseMX (Joe Anderson - Former Microsoft Access MVP)
Database Architect / Application Developer
Join our community to see this answer!
Unlock 1 Answer and 9 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 9 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros