Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Compile error when creating an MDE file

Status
Not open for further replies.

Tamarin

Technical User
Jul 5, 2000
17
US
I get the following error when I try to make my database a .MDE file:<br><br>Compile Error in hidden module: Form_National Geographics<br><br>I have searched everything I can think of about that form and can't find anything that might be the problem, and I don't have and modules!<br><br><br>Tamarin
 
Go into the design of any module.<br>Go to Tools ¦ Compile All modules.<br>If there are compile errors, this will show you what they are. <br>You should always do this before creating an .mde file, as it will save you the step should there be compile errors. <p>Jim Lunde<br><a href=mailto:compugeeks@hotmail.com>compugeeks@hotmail.com</a><br><a href= Application Development
 
Err there is no Tools ¦ Compile All Modules<br><br>Not an option in Access 97???<br><br>Tamarin
 
Go to Tools¦Options then click View tab, checkmark the show hidden objects box and then view the hidden module.&nbsp;&nbsp;Search for the error there. (hopefully it is not too big)<br>Chris
 
Do you have a form called?<br>Form_National Geographics<br>or just <br>National Geographics<br><br><br> <p>DougP<br><a href=mailto: dposton@universal1.com> dposton@universal1.com</a><br><a href= > </a><br> Ask me how Bar-codes can help you be more productive.
 
Just National Geographics.&nbsp;&nbsp;in the error it put it at Form_National Geographics.<br><br>ChrisTheProgrammer:<br>&nbsp;&nbsp;&nbsp;&nbsp;Where do I look for the hidden module? it's not under modules...<br><br><br>Tamarin<br>
 
If you have any normal &quot;hidden&quot; forms, you can find them by going under Tools/Options/View Tab, and select hidden objects. Then when you go to your Forms Window in your database, the names of any hidden forms will appear, though&nbsp;&nbsp;slightly grayed out compared to the others. to unhide a form, right click on it and choose Properties and toggle off the Attributes: Hidden checkbox.<br><br>If you do not find what you're looking for here, the fastest way to get rid of this problem is probably just to create a new database and import all your objects into it. That generally solves most problems with corrupted databases.
 
I tried Importing it but it did the same thing, I just copied over my one main table and the form off of that table.&nbsp;&nbsp;
 
Need to know exactly what you've tried & results:<br><br>1. Is the &quot;hidden&quot; form showing in your table window? Is it the same form you copied into the new database?<br>2. If not, did you do the &quot;unhide&quot; procedure above?<br>3. When you go into design view of the form, then click on the &quot;code&quot; icon on the toolbar, is &quot;compile All Modules&quot; now visible?<br>4. Is it greyed so that you can't click it?<br>5. If not, what happens when you click this? If it gives you an error and goes to a line of code, note the line here.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top