Setting up security does, indeed, seem like a drastic way of simply preventing a previously existing record from being edited, if the title "Lock past transactions" is to be taken at face value!
Why not simply lock existing records?
This locks existing records:
-
Private Sub Form_Current()
-
Me.AllowEdits = Me.NewRecord
-
End Sub
Since mistakes will be made, someone in authority will need to be able to correct them. I use an innocent looking label, usually the form title, and in its
OnClick event allow editing.
- Private Sub LabelClickedToEdit_Click()
-
Me.AllowEdits = True
-
End Sub
Depending on the savvy of your users, you may want to take steps to prevent the users from directly accessing the tables.
Welcome to
Bytes!
Linq
;0)>