Lock Specific Records

GendoPose

Registered User.
Local time
Today, 21:22
Joined
Nov 18, 2013
Messages
175
Hi all,

I want to lock an individual record when a certain check box is ticked so it can't be edited again. I've tried setting the form to read only when this check box is ticked on the form OnCurrent event, but this locked every record and I had to remove the code to untick the check box and be able to edit the record again.

Any ideas?

Thanks guys
 
Set the form's property Allow Edit to Yes/No in the form's OnCurrent event, depending on your check box.
 
Ok I just completely reentered the code from scratch and it's now working, thanks.
 

Users who are viewing this thread

Back
Top Bottom