Subform limit?

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

Guest

Is there a limit on the number of subforms a form can support?
Or perhaps there is some other reason for my problem?

I have a main form with a tab control and 22 subforms under various tabs.
With the introduction of subform 22, vba does recognize the 22nd form name.
Compile now reports 'variable not defined' when I try to use the expression
Form_fRPD.Filter = xxx

The (sub) form name is not misspelled because, in desperation, I have even
copied the name from the form and pasted it into my code.

Thanks in advance for your help.

Fred
 
Here is a followup.
Even though the (sub) form appears under the Access form tab, can be opened
and edited, and appears when the main form opens, it does not appear in the
forms list in the object browser!!!

Whats up with that? This is probably related to debug not recognizing it.
 
Back
Top