Greetings, I have a form with a table as the datasource. The source table is large enough to make searching for individual records unwieldy, so I have the User enter a specific value and then click a macro button. The macro that executes first validates the filter value, then filters the data set. The User uses the record-selector buttons to move through the data set.
I have one value on the form that comes from another table. I built a quick Query to pull this value with the criteria on another field in the form (basic SELECT/FROM/WHERE build). In order to update the field with each new record, I was trying to have an event-handler run this query each time the User moved to another record. So far, I've tried several event handlers but haven't been able to get any of the events to fire (MouseUp, AfterUpdate, Change). I'm thinking now that after the filter is applied, Access doesn't really see a change or update if the User is simply scrolling through and not manually changing fields. Is there an event that's a good fit for this, or a better way to accomplish this? Many thanks for your help and consideration.
I have one value on the form that comes from another table. I built a quick Query to pull this value with the criteria on another field in the form (basic SELECT/FROM/WHERE build). In order to update the field with each new record, I was trying to have an event-handler run this query each time the User moved to another record. So far, I've tried several event handlers but haven't been able to get any of the events to fire (MouseUp, AfterUpdate, Change). I'm thinking now that after the filter is applied, Access doesn't really see a change or update if the User is simply scrolling through and not manually changing fields. Is there an event that's a good fit for this, or a better way to accomplish this? Many thanks for your help and consideration.