Using code to delete reports

J

JimP

I'm using code to delete a large number of reports in an mdb - using
Application.CurrentProject.AllReports as the source. Two things are
happening.

1. I am hitting an error on a particular report claiming it doesn't
exist,when it does.

2. Then, when manually deleting the report, I get a mesage that it doesn't
exist

2. The database window for all reports is empty, yet when I compact/repair,
a number of reports re-appear.

I suspect corrupt code behind some of the reports - suggestions?
 

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