Use VBA to Delete Forms/Reports on another Database file

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

Guest

Hi

Can you advise how to us VBA to delete the Form/Report on other Access
Database files?

I know how to delete in CurrentDB, but I want to delete on other database.

Thanks
Eddy
 
Trickier, yes.
It's been a while since I've done this, but I think I used to open another
instance of Access, open the other database there as CurrentDB, and do the
deletes that way. Of course you want to be careful to close the database
and Access instance when you're through with them.
It used to be very dangerous in Access 2000 before about SP2, but I doubt
many people are using that any more...

HTH
- Turtle
 
Back
Top