Ravensleach
Programmer
Hi guys
I have a form with two checkbox fields and a date field
chkHonorary
chkLife
txtFullDate
I would like to make the checkboxes functional only when the text box is not null.
(this is in Access 2000 9.0.2720)
I’ve tried the solution offered in thread702-909430 but it’s not working (stays invisible). Is AfterUpdate the wrong event?
----------------------------
Private Sub txtFullDate_AfterUpdate()
If IsNull(txtFullDate) Then
chkHonorary.Visible = False
Else
chkHonorary.Visible = True
End If
End Sub
-----------------------
Maybe I should add I can’t use enabled/not enabled controls as the main database user is partially sighted so greyed out stuff is a no-no. Thanks
I have a form with two checkbox fields and a date field
chkHonorary
chkLife
txtFullDate
I would like to make the checkboxes functional only when the text box is not null.
(this is in Access 2000 9.0.2720)
I’ve tried the solution offered in thread702-909430 but it’s not working (stays invisible). Is AfterUpdate the wrong event?
----------------------------
Private Sub txtFullDate_AfterUpdate()
If IsNull(txtFullDate) Then
chkHonorary.Visible = False
Else
chkHonorary.Visible = True
End If
End Sub
-----------------------
Maybe I should add I can’t use enabled/not enabled controls as the main database user is partially sighted so greyed out stuff is a no-no. Thanks