How to rename a Database file

M

mota

Hi;
After i compacted a BackEnd DB to a new one,i have to kill the old
DB(Uncompacted) and then rename the new made DB to its default name(the name
of uncompacted DB) so that the front end can reconnect to it.How can i
rename a file (e.g a mdb file) thru code in access 2000?
Thank you for your help in advance.
 
M

Mota

Thank you for the useful and easy tip.Its not included in VBA help file in
access.Where can i find such a commands to work with files and folders in
VBA?
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

Similar Threads

Rename File 2
Rename Database 1
Renaming file 4
Can't rename a forms 4
rename a form in an external database 2
Creates db1, db2 on "compact on close" 13
store files (MDB) 4
Compacting issue after installing SP3 3

Top