[blue]The following scenario allows the user to [blue][b]Lock/UnLock[/b][/blue] editing for individual records of a form or subform, wether that form is in [blue]single or continuous view.[/blue]
Note: in any code that follows, you substitute names in [purple][b]purple[/b][/purple].
1) Add a CheckBox to the table holding the records of interest. Name it [blue][b]LockEdit[/b][/blue].
2) Make sure the CheckBox is included in the [blue]RecordSource[/blue] of the form! [purple][b]Do not insert the checkbox on the form as it works in the background![/b][/purple]
3) Add the following code to the [blue]On Current[/blue] Event of the form:
[code][blue] If Me.NewRecord Or Not Me!LockEdit Then
Me.AllowEdits = True
Else
Me.AllowEdits = False
End If[/blue]