Subform problem

  • Thread starter Thread starter Stockwell43
  • Start date Start date
S

Stockwell43

Hello,

I have a form that has a sub form and I am able to make my main form read
only but the subform can still be edited. On the main form I have a password
field and button so that I can go in and enable the cmdbuttons on the form.
Is there a way I can make the subform read only and then when I click the
password button it will enable it? I'm almost there just ran into this minor
snag.

Thanks!!
 
I got it. Found it on another forum. I needed to add this:

Me![frmproceduresub].Form.AllowAdditions = True
Me![frmproceduresub].Form.AllowEdits = True
Me![frmproceduresub].Form.AllowDeletions = True
 
Back
Top