Form name mispelled / Macro error

A

AmyLou

I have a simple database of 3 tables with one main form to enter data into. I
set up an Autoexec macro to open the main form when the database is opened
but I recently changed the name of the form from Main Form V3 to MainForm (I
had tried a couple of other versions to see how they would look and deleted
them when I decided which I wanted).

I made sure the Macro referred to the right form when I made the changes but
I still get this message every time I open the database:

‘The form name ‘Main Form V3’ is misspelled or refers to a form that doesn’t
exist - if the invalid form name is in a Macro, an action failed dialogue box
will display the macro name and the macros arguments after you click ok. Open
the Macro window and enter the correct name’

I didn’t get an ‘action failed’ dialogue box & even tried deleting the macro
& creating a new one in case it made any difference but I’m still getting the
message!

Any help would be much appreciated.

Amy
 
J

Joan Wild

Check Tools, Startup: you may have used the old form name in the Start Form
option. Also, you likely don't need the autoexec macro, if you use Tools
Startup (unless the macro does something more).
 
A

AmyLou

That's great! Thank you very much!

Joan Wild said:
Check Tools, Startup: you may have used the old form name in the Start Form
option. Also, you likely don't need the autoexec macro, if you use Tools
Startup (unless the macro does something more).
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top