Hey folks I have form with a subform. The subform on load doesn't allow edits. I have two button within the sub form. One named Edit (when pressed allowing users to edit) and another named Lock (when pressed not allowing the users to edit)
What Im trying to also prevent is that if the user advances to the next Parent record with out clicking on the lock button then ullitmately there able to to begin editing the subform with having to press the Edit button. What on even can I use to prevent this
Heres the Code:
Code:
Private Sub Form_Load()
Me.AllowEdits = False
End Sub
Private Sub Edit_RawMaterial_Click()
Me.AllowEdits = True
MsgBox "You are about to edit these raw materials!"
End Sub
Private Sub Lock_RawMaterial_Click()
Me.AllowEdits = False
MsgBox "You are about to lock these raw materials!"
End Sub