I have a combo box that is used to select records from a table. This is ment to be the primary way a user is to move from one record to another. However, I also like the ease of using the mouse wheel to scroll through records quickly.
Problem: When the mouse wheel is used to scroll through the records, the value in the combo box stays the same. I tried to put the code "combo_box = [FieldValue]" in the onCurrent event for the form, but the onCurrent event seems to run BEFORE the record is changed. For example, if the current record is A and I scroll to record B, it sets the value of combo_box in record B to A. If you then scroll to record C, the value of combo_box in record C is then set to B.
Is there an event that runs AFTER the record has changed, or right at the beginning momments when a record is first loaded. I tried OnCurrent, OnDirty, AfterUpdate, BeforeUpdate, OnLoad....
Problem: When the mouse wheel is used to scroll through the records, the value in the combo box stays the same. I tried to put the code "combo_box = [FieldValue]" in the onCurrent event for the form, but the onCurrent event seems to run BEFORE the record is changed. For example, if the current record is A and I scroll to record B, it sets the value of combo_box in record B to A. If you then scroll to record C, the value of combo_box in record C is then set to B.
Is there an event that runs AFTER the record has changed, or right at the beginning momments when a record is first loaded. I tried OnCurrent, OnDirty, AfterUpdate, BeforeUpdate, OnLoad....
Last edited: