Link to home
Start Free TrialLog in
Avatar of efurhole
efurhole

asked on

Missing Form in Class Object

I somehow created a form, Form1, in my database that is now missing.  I keep getting an error message that reads "The form name 'Form1' is misspelled or refers to a form that doesn't exist."  I can see the object 'Form_Form1" in VB - but I cannot figure out how to delete this instance.  I tried creating a form named Form1 (after the fact) - but this did not seem to fix the problem.  I also attempted a Compact/Repair, Debug, etc. as explained in a previous solution offered to me via experts exchange - but the problem prevails.  Any thoughts?

Thanks
ASKER CERTIFIED SOLUTION
Avatar of peter57r
peter57r
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of efurhole
efurhole

ASKER

Thanks for your reply.

I tried the above - I got "MS Access fialed to create the VB Module."  Is there any way to assoicate the orphan Module/Object (sorry, I'm not sure what to call this) to the Form1 that I just created from within VB??

Thanks
Hold on a sec
Once I assocaited Form1 to the table that I had previously been using (employees) - Access then allowed me to set "Has Module" to "Yes."  Your speculation was correct.

Thanks!
Fine - I was struggling to create an orphaned module so I'm glad you resolved it quickly.