Populating second combo based on first combo selection

pinky

Registered User.
Local time
Today, 08:16
Joined
Jul 6, 2009
Messages
29
I have (yes, no, other ) in one combo box and (open, no, other) in another combo box. When Yes is selected in first combo box, open should be automatically be selected in second one. How can I do that?

Thanks
Pinky
 
Just set the value of the second combo in the After Update event of the first combo:
Code:
If Me.ComboName = "Yes" then
   Me.YourSecondCombo = "Open"
End If
and you can also add any others there as well (what happens if NO is selected?).
 
Thank you. I tried this earlier exactly same but it did not work. But now it worked .


Thanks,
Pinky
 

Users who are viewing this thread

Back
Top Bottom