Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Opening & Renaming an .mdb

Status
Not open for further replies.

llafretaw

MIS
Oct 2, 2001
64
GB
Hi I'm currently using Access 97 and was wondering how does one explicitly open another mdb just before the calling mdb closes.
I have tried using the dbengine.OpenDatabase method but that doesn't seem to actually open the called mdb.
The mdb that is called needs to compact the calling mdb once its closed. From the CompactDatabase method I see that you can't use the name of the database that is been compacted as the new mdb name as well, so I need to rename the mdb after it has compacted. Any help would be appreciated
Thanks.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top