G
Guest
Any help with how to code a lable in a form so that it only appears when a
check box in a subform is checked?
check box in a subform is checked?
Duane Hookom said:You can change the label to a text box and set its control source to
something like:
=IIf([checkbox],"Your Caption","")
--
Duane Hookom
MS Access MVP
Glenn in Los Angeles said:Any help with how to code a lable in a form so that it only appears when a
check box in a subform is checked?
Glenn in Los Angeles said:That didn't seem to work. It just shows #Name? in the field regardless of
the value in the check box. Here's the language I used
=IIf(![CheckBox]=-1,"Caption","")
I also tried
=IIf(![CheckBox]=Yes,"Caption","")
But, in either case, the text box would still be visible all of the time,
and that's what I trying to avoid. Any thoughts?
Duane Hookom said:You can change the label to a text box and set its control source to
something like:
=IIf([checkbox],"Your Caption","")
--
Duane Hookom
MS Access MVP
in message news:[email protected]...Any help with how to code a lable in a form so that it only appears when a
check box in a subform is checked?