form not appearing in project explorer of vba editor

I created a form in Access 2007.   In this database I have multiple forms.

I was in the VBA editor and I noticed in project explorer that this form is not showing as an available Microsoft Access Class Object.      

The reason it's a problem for me is because in my vba code, I want to reference this form.    In the vb editor I type in the name of the form to see if it is recognized by intellisense ..   I can type the name of another form there in the project explorer however and Intellisense displays the properties / methods available for it.  

I made sure to compile my code and also I did a compact repair of the database.   Still it does no appear.   Let me know if you need any clarification.   Any insights or suggestions would be appreciated.    Thanks in advance for you help!

lchaAsked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
DatabaseMX (Joe Anderson - Microsoft MVP, Access and Data Platform)Connect With a Mentor Commented:
Does this form have it's Has Module property set to Yes? If not, then you will not see it.  If yes, then something else is wrong.

In a vba code window ... if you type:

Dim X As <space>
you should see it here as Form_<YourFormName>

?

mx
0
 
DatabaseMX (Joe Anderson - Microsoft MVP, Access and Data Platform)Commented:
"you should see it here as Form_<YourFormName>"

that is ... in the Intellisense drop down list .... ?

mx
0
 
lchaAuthor Commented:
Hi there mx, the property of the form didn't have module property set to yes.   thanks!
0
 
DatabaseMX (Joe Anderson - Microsoft MVP, Access and Data Platform)Commented:
You are welcome.

Normally, the default is Yes.

mx
0
All Courses

From novice to tech pro — start learning today.