R
Richard John
I have a form with a checkbox field (chkActive) related to the value in the date
resigned field. It only half works. The check box is turned on as expected, when
the date resigned field is blank. the converse does not happen i.e. insert a
resigned date and the checkbox should be turned off.
Can someone please help me with this. Function code shown below:
Private Sub DateResigned_AfterUpdate()
If Len(Nz(Me!DateResigned, "")) = 0 Then
Me!chkActive = vbTrue 'WORKS
Else
Me!chkActive = vbFalse 'DOES NOT WORK
End If
End Sub
Thanks
resigned field. It only half works. The check box is turned on as expected, when
the date resigned field is blank. the converse does not happen i.e. insert a
resigned date and the checkbox should be turned off.
Can someone please help me with this. Function code shown below:
Private Sub DateResigned_AfterUpdate()
If Len(Nz(Me!DateResigned, "")) = 0 Then
Me!chkActive = vbTrue 'WORKS
Else
Me!chkActive = vbFalse 'DOES NOT WORK
End If
End Sub
Thanks