error message keeps appearing and its stopping me typing in code!

shapman

Registered User.
Local time
Today, 05:37
Joined
Aug 30, 2007
Messages
55
HELP!

the following message appears when in the code builder:

"the form name Form1 is misspelled or refers to a form thats does not exist...
if the invalid form name is a macro an action failed dialog box will display the macro name and the macros arguments after you click ok. Open the macros window and enter the correct form name"

I have searched my macros and can't see a reference to a form1. the form1 is listed in the project box under the 'microsoft access class objects'. there is no form1 in my forms menu, this is such an annoying thing to get stuck on!



thank you!
 
Try renaming your Form1 object to something like frm1.
 
You used a macro?

That's the problem there. In my experience (and I must add it was very very brief), deleting it does not make it actually go away and no matter how I monkeyed with it, it makes up imaginary references and insist that I go along with its fairy tale.

Therefore, I re-started my database from scratch and sworn off the macros.
 
I too would ditch macros very simply for the problem you have encountered. If all you scripts are in Modules when you are in Module design you can search:

Current Procedure
Current Module
Current Database

Simon
 

Users who are viewing this thread

Back
Top Bottom