DELETING ACCESS CLASS OBJECTS

J

John

Hi
I had a table & a form - have deleted both again. But the database still
reference the form.
The only place I can still see the Form (it's name) is in the coding, under
the
Microsoft Access Class Objects.

How can I delete this Object here, to stop the database from referencing this
form.

Regards
John
(p.s. I am a beginner and have NO VBA experience)
 
D

Douglas J Steele

What makes you say that the database is referencing the form? Is it a case
that it tries to launch the form when you open the database? If so, look
under Tools | Startup.
 
J

John

Hi Doug

When I place a command button in a form header (any form) and try to save
the form, a INFORMATION/ERROR message box comes up saying "The form name
'Quote Header Frm' is misspelled or refers to a form taht does not exist."
and "If the invalid form name is in a macro, an Action Failed dialog box will
................"

Thanks
John
 
D

Douglas J. Steele

Try compiling your database (Under the Debug menu in the VB Editor).
Hopefully it will identify where the problem is.
 
J

John

Hi Douglas

I'm sorry I took so long. But let me tell me what I did.

The only thing that worked was when I opend a brand new (empty) database,
and copied and pasted the tables, queries, forms, reports and macros to this
new database.
So far, so good. I had a look in VB editor under the Classes, and there is
nothing about "missing" forms etc. I also tried to place a command button in
the form header, and it worked - this was something that I could not do
before.

Thanks for the help - appreciated.
Regards
John
 
Top