Easy one
There's probably an easy solution to this but I have been fiddling about it for quite some time now. What I want is to reveal a textbox only when a checkbox is checked.
This is what I have come up with so far.
I know this works with hiding and revealing forms and subforms, but I can't get it to work on a single textbox.
Thanks
Mads
There's probably an easy solution to this but I have been fiddling about it for quite some time now. What I want is to reveal a textbox only when a checkbox is checked.
This is what I have come up with so far.
Code:
If Me![Checkbox] = 1 Then
Me![Textbox].Visible = True
Else
Me![Textbox].Visible = False
End If
I know this works with hiding and revealing forms and subforms, but I can't get it to work on a single textbox.
Thanks
Mads