S
sonta
Hi.
Awhile back I got some useful advice in locking records using tick boxes. Eg
a field called 'Locked' was used to tick (yes/no format) any record in the
datasheet view.
But I would like to know how to do the same when a particular date field
(field name: 'File Date') is populated by the user.
Below is the example of the tick box method...wondering if anyone can modify
the method to my question. thanks.
Set the form's Allow Edits and Allow Deletions properties in the
Form_Current() event procedure.
Private Sub Form_Current()
With Me
.AllowEdits = Not Me.Locked
.AllowDeletions = .AllowEdits
End With
End Sub
Awhile back I got some useful advice in locking records using tick boxes. Eg
a field called 'Locked' was used to tick (yes/no format) any record in the
datasheet view.
But I would like to know how to do the same when a particular date field
(field name: 'File Date') is populated by the user.
Below is the example of the tick box method...wondering if anyone can modify
the method to my question. thanks.
Set the form's Allow Edits and Allow Deletions properties in the
Form_Current() event procedure.
Private Sub Form_Current()
With Me
.AllowEdits = Not Me.Locked
.AllowDeletions = .AllowEdits
End With
End Sub