locking the records

Neo

Registered User.
Local time
Today, 23:06
Joined
Mar 5, 2003
Messages
42
hi

Is there a way to press a button on a form and lock all the field from the recordSet in the in that form
 
Add a flag field to the datasource to say if the record can be edited. Use the OnCurrent event to consider the flag:

Me.AllowEdits = Not(Me.MyFlagField)

And a button click event to lock the record:

Me.MyFlagField = True
Form_Current
 

Users who are viewing this thread

Back
Top Bottom