T
Tony Fairfield via AccessMonster.com
I have a form were I changed the lock property to yes for every field to
keep Users from editing the data by mistake. The reason I locked every
field and not the form was to leave one field open to pick companyname and
bring up the record for that companyname. (I should also mention that I
have 2 subforms on this form and the queries and tables used are updatable).
I added an EDIT button to control the edits by prompting for a password.
When the button is clicked, it executes the following code:
Private Sub EditRcd_Click()
DoCmd.OpenForm "frmPswrdEdit"
Me.AllowEdits = True
End Sub
Is there something I'm missing?
Thanks for your help on this!!
Tony
keep Users from editing the data by mistake. The reason I locked every
field and not the form was to leave one field open to pick companyname and
bring up the record for that companyname. (I should also mention that I
have 2 subforms on this form and the queries and tables used are updatable).
I added an EDIT button to control the edits by prompting for a password.
When the button is clicked, it executes the following code:
Private Sub EditRcd_Click()
DoCmd.OpenForm "frmPswrdEdit"
Me.AllowEdits = True
End Sub
Is there something I'm missing?
Thanks for your help on this!!
Tony