Subform allow addition 
Author Message
 Subform allow addition

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.


Sat, 22 Apr 2006 06:23:05 GMT  
 Subform allow addition

Quote:
> 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



Sat, 22 Apr 2006 06:28:07 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. SubForm Allow Additions

2. subform resets Allow Edits, Deletions and Additions to No

3. change Allow Additions to No on Subform

4. not Allowing Additions on subforms

5. Subform Not allowing addition of record

6. Problem: Subform won't Allow Additions

7. Is it possible to allow/not allow editing to certain fields in a subform

8. My forms will not allow additions and my tables get a + column

9. how do you allow additions in a sub form

10. Allow additions


 
Powered by phpBB® Forum Software © phpBB Group