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
 
Back
Top