Subform allow addition

  • Thread starter Thread starter PAUL
  • Start date Start date
P

PAUL

Hi,
I had hard time to reference the subform allow additions
property, what's the correct syntax? I put Forms!Main
Forms!Sub Forms.allowadditions = true, but got error
message "Object doesn't support this property or method".
Thanks for your kindly help.
 
PAUL said:
Hi,
I had hard time to reference the subform allow additions
property, what's the correct syntax? I put Forms!Main
Forms!Sub Forms.allowadditions = true, but got error
message "Object doesn't support this property or method".
Thanks for your kindly help.

From code in the main Form's module:

Me!sbfN.Form.<whateverpropertyyouwant>

Where sbfN is the name of the Subform Control (not the Form embedded it it).
"Form" here is the Form Property of the Subform Control.

Larry Linson
Microsoft Access MVP
 

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