forms not listed in VBA

M

Mark J Kubicki

how come not all of the forms listed in the Access database window are not
displayed in the VBA projects explorer?

I'm trying to reference "one of those not listed" in code; this is resulting
in error...

-mark
 
D

Dirk Goldgar

Mark J Kubicki said:
how come not all of the forms listed in the Access database window
are not displayed in the VBA projects explorer?

I'm trying to reference "one of those not listed" in code; this is
resulting in error...

Any form that doesn't have a code module won't be listed in the Project
Explorer, since that only lists standard modules and class modules
(form/report class modules and other, user-defined class modules).

This is one of the reasons using the "Form_Form1" style of form
reference is not a good idea. Better to refer to the form via the Forms
collection.
 
Top