There are a number of events that are triggered when you move from one
record to another. These events are triggered regardless of what method was
used to move from one record to another. There isn't any event that is
trigged *only* when you use the record navigation buttons.
I have narrowed down the problem. The query I am using is apparently read
only I am assuming because it has left joins.
My desired sequence is as follows:
Open my query into a form
When the record changes, check to see if the value of a dropdown (open /
closed)
has changed
Save data
The problem is, AfterUpdate and BeforeUpdate are never triggered because the
result set is read only.
Form Current I use to populate a few fields, so they can be modified, but by
the time it has run, we have already moved from the old record to the new...
As an update, I decided to solve this problem by separating my form into 2
queries. One contains non-joined information to be updates, and the second
conains all of the data with joins.
When the form current fires, I query the 2nd query and populate the form
fields with the static data.
If you can think of a vastly different and better way to do this I'd love to
know, thanks!
Ask a Question
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.