Hide/show combo box

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have a form where I am tracking courses taught. On the form is a combo box
for instructor. What I would like to do is add a check box for
co-facilitator where when checked, a combo box listing co-facilitator names
would appear and would stay hidden when unchecked. My check box is named
chkCo-facilitator and the combo box that I am referring to is named
cboCo-instructor. Thanks for your help.
 
Try this on the After update event of the checkBox

Me.[cboCo-instructor].Visible = (Nz(Me.[chkCo-facilitator],0)=True)

If you move between records add this code also to the OnCurrent event of the
form
 
Back
Top