Gregof1976
Registered User.
- Local time
- Today, 05:53
- Joined
- Mar 28, 2011
- Messages
- 44
On current event I have some code that locking record for edition depending on the flag (bolean).I would like as well lock this line for deleting depending on the flag. Can someone give me some tip how to do this?
Code:
Private Sub Form_Current()
If Me.approved = True Then
Usluga.Locked = True
Else
Usluga.Locked = False
End If
If Me.NewRecord Then
Usluga.Locked = False
Else
End If
End Sub