delete vba access class object

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi,

My MSAccess crashed in middle of coding. Now I have a Access Class Object
in VB named Form_Form1. I want to delete it as it is not linked to anything
and I keep on getting error messages not allowing me to do anything else.
Would really appreciate any help.

Thanks,
 
1. Make a back-up copy of your database *FIRST*.

2. Try compacting & repairing and see if it disappears.

3. If 2 doesn't work, try creating a new blank database and import all
objects from the existing database. You may need to note down the Start-up
options as you will need to re-specify your options in the new database.
 
Thank you,

compacting and repairing worked. But only after I created a blank form in
my database and named it Form1 and saved it. Then I erased all the codes in
VB for Form1 and closed VB. Next, I closed the database. I opened the
database and now erased Form1 from my database. Once again I closed and
reopened and then it was all clear. All other options I tried which did not
include saving, closing and reopening the database twice failed.

thanks,
 
Back
Top