How to Delete a database *.mdb with VB?? (1 Viewer)

lukea51

New member
Local time
Today, 12:29
Joined
May 28, 2008
Messages
5
I have a database that has a list of database locations stored in a table with in the the database. What the function of the database is; to compact all the databases that are in the table. The code compacts the database copies it and date stamps it in the title.

My question is how to delete the original .mdb file after the database has been copied and compacted?
 
Look at the Kill statement in VBA help.
 
Why "date stamp" it? Why not compact it and have Access do the copying back and stuff?
 

Users who are viewing this thread

Back
Top Bottom