troubleshooting Question

Custom Control Button on Access Form

Avatar of yoducati
yoducati asked on
DatabasesMicrosoft Access
14 Comments1 Solution405 ViewsLast Modified:
I have a simple data entry form in my access database.  It it part of a "built in" navigation form using the tabs across the top and sub menus down the left side.  On this particular form for adding vendors I want to work around the access default saving of records.  I have created a button for the user to "Add Record" and I want the button to insert the record only if pressed.  I haven't figured out how to create a message that explains to the user that their entry has not been saved and will be lost if they don't click the button.  I used to accomplish this by having the "Add Record" and "Main Menu" buttons be the only ones on the form. I would put the code for the message behind the main menu button to prompt them if they hadnt saved the record.  If they continued I would simply undo the record through code before the form closed.  Since Access uses this fancy new navigation form I dont have a need for the Main Menu button and want to accomplish the same "undo" action if the user leaves the current tab on the navigation form without having pushed the "Add Record" button.
ASKER CERTIFIED SOLUTION
Join our community to see this answer!
Unlock 1 Answer and 14 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 14 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