ACC07: Can't delete module object

J

John

I probably have some kind of corruption on my accdb file---I've tried
disable autoName feature, compacting and repairing, importing into new
db. Nothing works.

When I try to delete the Module1 object in the navigation bar, it
deletes but then immediately reappears. I'm also getting "name
conflicts with existing module" error. How can I get rid of the
Module1 object? What about deleting from the MSysObjects table (if
that's even possible)?

Thank you...
 
A

Allen Browne

After deleting it, try a compact/repair:
Office Button | Manage

If that doesn't work, the next step would be to create a new (blank) ACCDB,
and then import all the other objects (except the spurious Module1.)

For general suggestions on recovering a problem database, see:
Recovery sequence
at:
http://allenbrowne.com/recover.html
 
F

feliz bonilla

John said:
I probably have some kind of corruption on my accdb file---I've tried
disable autoName feature, compacting and repairing, importing into new
db. Nothing works.

When I try to delete the Module1 object in the navigation bar, it
deletes but then immediately reappears. I'm also getting "name
conflicts with existing module" error. How can I get rid of the
Module1 object? What about deleting from the MSysObjects table (if
that's even possible)?

Thank you...
 

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