Editing Subforms

  • Thread starter Thread starter Haigy
  • Start date Start date
H

Haigy

i have a main form with subforms on it, i have set the main form AllowEdits
to No and this stops me editing the subform

i have a button that lets me set the main form back to allowedits to True,
but the subforms are still not editable, and i need these to be editable as
well

any advice on how to do this

thanks in advance
 
When you set the AllowEdits property of the main form, you can set the
property of the subform too:

Me.AllowEdits = True
Me.[NameOfSubformControlHere].Form.AllowEdits = True
 
Quick thought: Have you referenced you subform property directly from your
form: syntax:

me![subformName].form.Allowedits = true

Might solve the problem.

John S
Aylmer, PQ
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top