I got a program and i wan't to build in an option that users
first need to select the option editable ON.
so far i got a script but it won't work with subforms and it even disables
the option buttons. i need to get it something like CurrentRecord.
Anyone have an idea?
Editable:
Yes (*)
No ()
VB Code:
'edit on/off Private Sub Edit_AfterUpdate() If Me.Edit = 1 Then 'on Me.Form.AllowEdits = True ElseIf Me.Edit = 2 Then 'off Me.Form.AllowEdits = False End If End Sub




Reply With Quote