I have a form that the user would like to be able to turn on and off the ability to edit. I have tried the properties window but it locks the whole form.
Here is the code I have tried but the trigger is not working to activate the code
Private Sub cmdEditform_Click()
Form.AllowAdditions = True
Form.AllowEdits = True
Form.AllowDeletions = True
it seems like the code is being ignored because even after I hit the locked button the form is still allowing edits.
Here is the code I have tried but the trigger is not working to activate the code
Private Sub cmdEditform_Click()
Form.AllowAdditions = True
Form.AllowEdits = True
Form.AllowDeletions = True
it seems like the code is being ignored because even after I hit the locked button the form is still allowing edits.