How to force a combo box trigger to fire

leok31

Registered User.
Local time
Today, 01:24
Joined
Feb 25, 2014
Messages
36
I have about 4 combo boxes with a list value of dates in them, combo1 is the 'main control'. When a date from combo1 is chosen and a button is clicked, the other 3 combo boxes receive a default value that closely matches combo1.
In fact the default value each of the 3 combo boxes receive exists in that combo box. For example, if I gave combo2 default value "2013/01/01", it actually has that date in its list.
What I want to do is trigger a OnChange even after combo2,3,4 receive their values. Other things happen after the OnChage trigger is fired.
Is that possible?

Thanks
 
Ok I worked it out.
For anyone who may need it, all you do is go:

Call name_of_sub_Change
 
Generally if an Event Procedure is to be called from some other procedures too I create a sub with an appropriate name to describe wht it actually does.

Then I call that procedure from the other locatios, including the Event Procedure.

It makes more logical sense then to call an OnChange procedure when that object is not being changed.
 

Users who are viewing this thread

Back
Top Bottom