I have a form with a lot of editable text boxes. When the user changes (updates) the data in some of the text boxes, I want to set a global boolean variable to true. However, I don't want to create an after_update event procedure for each and every text box just to set one global variable to true.
Is there a way to trap events from controls at the form level versus at the individual control level, so I don't have to create a lot of individual event procedures that all do exactly the same thing (update the same variable)?
I want to create a 'global' event at the form level to just trap all 'after_update' events from all the control objects on the form. And then execute one line of code if the control is a textbox and meets certain criteria like the control name starts with "txt". That is necessary to consider because there are some other editable text boxes on the form that should never set the global variable = true even though they would trigger this 'global' after_update event.
thanks,
flize
Is there a way to trap events from controls at the form level versus at the individual control level, so I don't have to create a lot of individual event procedures that all do exactly the same thing (update the same variable)?
I want to create a 'global' event at the form level to just trap all 'after_update' events from all the control objects on the form. And then execute one line of code if the control is a textbox and meets certain criteria like the control name starts with "txt". That is necessary to consider because there are some other editable text boxes on the form that should never set the global variable = true even though they would trigger this 'global' after_update event.
thanks,
flize