The Scenario
I have figured out how to lock a subform's rows (ALL) using a button and VBA code. However, I have a little extra tidbit I would like the button to perform. I have 40 choices in my combobox
. Once I select the first and enter data in fields in the subform below it, I would like the button to lock those rows.
The Goal
When I select the next option in my combobox
, I would like those to be editable until I click the lock button, and so forth. Is this possible?
The Code
This is currently what I have for the button:
If Me.fsubtitles!Priority.Enabled = False Then
Me.fsubtitles!Priority.Enabled = True
Else
Me.fsubtitles!Priority.Enabled = False
End If
Any thing else I need to provide?
Thanks!