Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Microsoft Office > Access and Access VBA > Access
| Search | Today's Posts | Mark Forums Read
Access Discussion of Microsoft Access database design and programming. See also the forums for Access ASP and Access VBA.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Access section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
  #1 (permalink)  
Old April 28th, 2005, 03:50 PM
Authorized User
Join Date: Dec 2004
Location: Las Vegas, NV, USA.
Posts: 48
Thanks: 0
Thanked 0 Times in 0 Posts
Default "Module not found" error, need help

Today I tried to test the project I worked on few days ago, everytime when I tried to click commands, "Module not found" error message was poped up. I checked the event procedure under the commands, I didn'd see any error in there. I have no idea about this message at all. Any suggestions?

  #2 (permalink)  
Old April 29th, 2005, 06:23 AM
Friend of Wrox
Join Date: Nov 2004
Location: Seattle, WA, .
Posts: 248
Thanks: 0
Thanked 1 Time in 1 Post

Sounds like a corrupt database or previous compile information hanging out where it shouldn't. Yes, Access does compile your VBA.

Start by taking a back up of the database and putting it in a safe place.

A couple of directions to take.

Perhaps the easiest is to start Access with the /decompile parameter then open your database. This clears any previous compiles of modules you might have renamed along the way, etc. To do this, click Start, then Run... and specify

"C:\Program Files\...path to your MS Office...\MSACCESS.EXE" /decompile

If that doesn't work, create a new database and import everything from the corrupt database.

Randall J Weers
Membership Vice President
Pacific NorthWest Access Developers Group

Similar Threads
Thread Thread Starter Forum Replies Last Post
ERROR: Theme cannot be found ppeessaarr ASP.NET 2.0 Professional 2 July 16th, 2007 09:06 AM
Call Standard Module Error Handler from From mod johndickerson VB Databases Basics 4 April 20th, 2007 01:53 PM
Call Standard Module Error Handler from Form mod johndickerson BOOK: Beginning Access 2003 VBA 0 April 19th, 2007 11:12 AM
Error in BizTalk - SDK 2004 module 2 solution vijay_rb Biztalk 1 August 12th, 2004 05:11 AM
Mailing list module has error - HELP drfunkie BOOK: ASP.NET Website Programming Problem-Design-Solution 3 September 8th, 2003 12:09 PM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.