I have a check box. When I click it making it True/Yes I want a label I have
set as not visible to become visible. Should be simple but isn't!
Replace the label with a text box bound to an expression like this:
=IIf([MyYN], Null, "Say what")
Use your yes/no field name instead of MyYN

Signature
Allen Browne - Microsoft MVP. Perth, Western Australia
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.
>I have a check box. When I click it making it True/Yes I want a label I
>have
> set as not visible to become visible. Should be simple but isn't!
Speeg - 21 Sep 2007 18:06 GMT
Thank you, I will give that a go
> Replace the label with a text box bound to an expression like this:
> =IIf([MyYN], Null, "Say what")
[quoted text clipped - 4 lines]
> >have
> > set as not visible to become visible. Should be simple but isn't!
NKTower - 21 Sep 2007 22:34 GMT
The title of the question says Text Box, but the question text says label.
Assuming you really meant label, and that you don't want the user to be able
to edit it, you can do it like
Private Sub chk_Box_Click()
Me.lbl_ImClicked.Visible = (Me.chk_Box = True)
End Sub
The visibility of the label will follow the status of the check box.
> Thank you, I will give that a go
>
[quoted text clipped - 6 lines]
> > >have
> > > set as not visible to become visible. Should be simple but isn't!
Speeg - 21 Sep 2007 18:14 GMT
Thanks Allen it works perfectly
> Replace the label with a text box bound to an expression like this:
> =IIf([MyYN], Null, "Say what")
[quoted text clipped - 4 lines]
> >have
> > set as not visible to become visible. Should be simple but isn't!