G
Guest
I have a form containing an option group with corresponding combo boxes that
prompt the user through criteria when a certain option is selected. I want
all the combo boxes to be hidden both on form load and also when changing
options. I have written a procedure using
Forms![Reporting]!cboComboBox.Visible = False for each combo box on the form
but this is getting quite large. Is there a way to write some code to have
all combo boxes hidden at once. Then I can call the function whenever I need
it. I tried a For..Each statement but my syntax was way off.
Any help would be appreciated.
Thanks...
prompt the user through criteria when a certain option is selected. I want
all the combo boxes to be hidden both on form load and also when changing
options. I have written a procedure using
Forms![Reporting]!cboComboBox.Visible = False for each combo box on the form
but this is getting quite large. Is there a way to write some code to have
all combo boxes hidden at once. Then I can call the function whenever I need
it. I tried a For..Each statement but my syntax was way off.
Any help would be appreciated.
Thanks...