G
Guest
I am using the code below in the OncCUrrent event of a form so that as a user
navigates through records, he or she cannot make changes to "Closed" items.
It does not, however, seem to work. Any help?
If (cbostatus = "Closed") Then
cbostatus.Locked = True
chkPositive.Locked = True
chkCritical.Locked = True
ElseIf (cbostatus = "Open") Then
cbostatus.Locked = False
chkPositive.Locked = False
chkCritical.Locked = False
End If
navigates through records, he or she cannot make changes to "Closed" items.
It does not, however, seem to work. Any help?
If (cbostatus = "Closed") Then
cbostatus.Locked = True
chkPositive.Locked = True
chkCritical.Locked = True
ElseIf (cbostatus = "Open") Then
cbostatus.Locked = False
chkPositive.Locked = False
chkCritical.Locked = False
End If