ERROR

G

Guest

Does anyone know what this error means and how I can fix it. This error
appears on three other users computers and not mine. WHY??
The error reads... The form name 'Form2' is misspelled or refers to a form
that doesn't exist. If the invalid form name is in a macro, an Action Failed
dialog box will display the macro name and the macro's arguments after you
click OK. Open the Macro window, and enter the corret form name.

The only problem is that there is no Form2 it was never created and I make
all the forms reports and queries in our access database
PLEASE HELP
 
M

Mike Labosh

Does anyone know what this error means and how I can fix it. This error
appears on three other users computers and not mine. WHY??
The error reads... The form name 'Form2' is misspelled or refers to a
form
that doesn't exist. If the invalid form name is in a macro, an Action
Failed
dialog box will display the macro name and the macro's arguments after you
click OK. Open the Macro window, and enter the corret form name.

The only problem is that there is no Form2 it was never created and I make
all the forms reports and queries in our access database

Something somewhere apparently thinks that there IS a Form2, and is trying
to do something to it. I would start with the macro, and look for an action
that does something to Form2. The macro might also call another macro, some
VBA code, open a form or report that has a property, data binding or code
that refers to Form2. You will have to consider all these possibilities
when you dissect your broken macro.

--
Peace & happy computing,

Mike Labosh, MCSD

Feed the children!
Save the whales!
Free the mallocs!
 
D

Damien McBain

Mike said:
Something somewhere apparently thinks that there IS a Form2, and is
trying to do something to it. I would start with the macro, and look
for an action that does something to Form2. The macro might also
call another macro, some VBA code, open a form or report that has a
property, data binding or code that refers to Form2. You will have
to consider all these possibilities when you dissect your broken
macro.

With your db open, hit ctrl+g (to open the vba window) then ctrl+f (the
'find' dialog), type in "form2" and select 'current project' to look for a
reference to that form in your code.
 

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