G
Guest
Hi,
I have a check box in a subform called 'UA' and a text box called
'date_assessed'
I'd like to have date_assessed invisible until the user checks UA. I've
tried some of the suggestions on here, but I can't seem to get it an entirely
working.
The default state should be UA is unchecked and date_assessed. Once UA is
checked the text field should appear. Here's some of the code I have so far.
Private Sub Form_Current()
If Me.ua = -1 Then
Me.date_assessed.Visible = True
Else
Me.date_assessed.Visible = False
End If
End Sub
Any help would be greatly appreciated.
Thanks
Manoli
I have a check box in a subform called 'UA' and a text box called
'date_assessed'
I'd like to have date_assessed invisible until the user checks UA. I've
tried some of the suggestions on here, but I can't seem to get it an entirely
working.
The default state should be UA is unchecked and date_assessed. Once UA is
checked the text field should appear. Here's some of the code I have so far.
Private Sub Form_Current()
If Me.ua = -1 Then
Me.date_assessed.Visible = True
Else
Me.date_assessed.Visible = False
End If
End Sub
Any help would be greatly appreciated.
Thanks
Manoli