G
Guest
Okay, I have a form that includes a checkbox "Closed_Check", when this box is
checked I need to lock that specific record in the form and subform.
Currently I've tried:
If Closed_Check = True Then
Me.AllowEdits = False
Me.AllowDeletions = False
Else
Me.AllowEdits = True
Me.AllowDeletions = True
End If
and placed this in the On Current event field for both the form and subform.
It works, problem is it locks the following records that are not closed.
What am I missing?
HELP
checked I need to lock that specific record in the form and subform.
Currently I've tried:
If Closed_Check = True Then
Me.AllowEdits = False
Me.AllowDeletions = False
Else
Me.AllowEdits = True
Me.AllowDeletions = True
End If
and placed this in the On Current event field for both the form and subform.
It works, problem is it locks the following records that are not closed.
What am I missing?
HELP