G
Guest
I have a form with 2 subcontrols (each a form). User inputs required info in
main form combo box, in combo box 1 and then combo box 2. This works great.
Subcontrol2 form contains unbound data fields only, populated on the On
Change event in combo box 2.
When the 1st subcontrol combobox is changed, I am trying to populate the 2nd
subcontrol form with the values based on the 1st and 2nd combobox's (2nd
combobox retains its original value).
To attempt to force the form into working, I have coded an On Change event
on the 1st combobox which does the following :-
1) Stores the value of combo box 2
2) Sets Combobox 2 to another value
3) Populates Combobox 2 with the original value - hope that would trigger On
Change event??
4) Issue a Requery on subcontrol 2 combobox
The values of the combo box change as coded, but the on change event is not
being invoked by the change in value.
Can anyone tell me where I am going wrong please
Cheers,
Steve
main form combo box, in combo box 1 and then combo box 2. This works great.
Subcontrol2 form contains unbound data fields only, populated on the On
Change event in combo box 2.
When the 1st subcontrol combobox is changed, I am trying to populate the 2nd
subcontrol form with the values based on the 1st and 2nd combobox's (2nd
combobox retains its original value).
To attempt to force the form into working, I have coded an On Change event
on the 1st combobox which does the following :-
1) Stores the value of combo box 2
2) Sets Combobox 2 to another value
3) Populates Combobox 2 with the original value - hope that would trigger On
Change event??
4) Issue a Requery on subcontrol 2 combobox
The values of the combo box change as coded, but the on change event is not
being invoked by the change in value.
Can anyone tell me where I am going wrong please
Cheers,
Steve