John thomas
Registered User.
- Local time
- Today, 05:31
- Joined
- Sep 4, 2012
- Messages
- 206
Hi i have a form called Orders.I need to lock this form once an invoice has been printed
I have a check box on this form ,that if ticked should lock that specif order
This is my Code
Private Sub Form_Open(Cancel As Integer)
If Me.lockorder = True Then
Me.AllowEdits = False
End If
End Sub
The problem is it does nothing .
I am using the open event of the form .The checkbox is called LockOrder
Thank you
I have a check box on this form ,that if ticked should lock that specif order
This is my Code
Private Sub Form_Open(Cancel As Integer)
If Me.lockorder = True Then
Me.AllowEdits = False
End If
End Sub
The problem is it does nothing .
I am using the open event of the form .The checkbox is called LockOrder
Thank you