Subform Editing problem

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have a tab control on a form that when opened, the form's editing is turned
off by having these properties set:

Me.AllowEdits = false
Me.AllowAdditions = false
Me.AllowDeletions = false

I have a button on the form that when clicked, it turns the editing back on,
by setting these same properties to "true".

This works fine except that there is a subform on one of the tabs, that will
not allow editing, even though I have changes these properties to true. If
these properties are set to true when the form opens, the subform works fine,
but I cannot get it to work the way I want (by allowing edits when the button
is clicked).

Any ideas would be appreciated!

Thanks,
Bonnie
 
I am no expert, but maybe you could try referring to the form by

Me.subformname.Form.AllowEdits = true

Hope that works
 
Back
Top