module not found

  • Thread starter Thread starter M.Sellers
  • Start date Start date
M

M.Sellers

I have a db in Access 2003 that has a form_form2 Access Class Object
listed under my current project when I open the Visual Basic window. I
do not have an actual form2 in my database. So when I used a button on
any form in the db, I'm getting a "module not found" error. I
discovered that there was code on that form_form2 object. I thought if
I deleted that code it would stop trying to use it. Nope. I created a
dummy blank form2 and now my db can run without crashing on a "module
not found" error.

So it looks like I was creating a form and using some code on a button
that didn't work right. I thought I abandoned the form without saving
it, but apparently something got stuck and is really causing problems.

I can go to a backup but I did lots of updating before I actually
discovered this bug. What's my best course of action at this point?

Thanks, Mary
 
Hi Mary,

I would try a Decompile first: http://allenbrowne.com/ser-47.html

I have a db in Access 2003 that has a form_form2 Access Class Object
listed under my current project when I open the Visual Basic window. I
do not have an actual form2 in my database. So when I used a button on
any form in the db, I'm getting a "module not found" error. I
discovered that there was code on that form_form2 object. I thought if
I deleted that code it would stop trying to use it. Nope. I created a
dummy blank form2 and now my db can run without crashing on a "module
not found" error.

So it looks like I was creating a form and using some code on a button
that didn't work right. I thought I abandoned the form without saving
it, but apparently something got stuck and is really causing problems.

I can go to a backup but I did lots of updating before I actually
discovered this bug. What's my best course of action at this point?

Thanks, Mary

_______________________________________________
hth - RuralGuy (RG for short)
Please post to the NewsGroup so all may benefit.
 
Back
Top