troubleshooting Question

Before Update Event not firing when moving to unbound field

Avatar of rodneygray
rodneygrayFlag for United States of America asked on
Microsoft Access
8 Comments2 Solutions894 ViewsLast Modified:
I have a form designed to allow the user to modify historical data. At the form level, I attached code to the before update. When the user leaves the record, this code is triggered. The code displays a form that captures user id, date, time and shows the user which fields were changed. Then the user is able to accept or discard changes. When the verify form is closed the changes are written/not written based on the users response.  
However, I have run into an issue with the before update event.
  -I change the quantity field from 1 to 5.
  -Then, instead of moving to a different record, I click in an unbound search field I have  provided for the user to search for records.
  -The before update event does not fire when I move to the unbound field
  -If I enter a search term and hit the enter key, my verify screen appears.
  -However, because I am no longer on the record, the update bombs.

My question is: How do I get the before update event to fire when moving to the unbound field.

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 2 Answers and 8 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 2 Answers and 8 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