Adi
07-02-2001, 11:00 AM
hi,
Does anyone know how to copy a file from a specific location and name to a different location and different name from an Access Database?
e.g. I am in an Access Database and i have a file called "MyFile.xls" saved in 'C:\My Documents' and i need to save a backup of this file into the network - H:\Pens\ on a different Name - "MyFileBackup (Date).xls".
I would know how to implement the Date side of this little problem, but i have no idea of how to copy a file using VBA.
Also, is there a way you can compact a different database at a different location from an Access database i am working on?
is there a way i can maybe map a network drive from the access database?
Help!
thax
Adi
<*Take my future, past, it's fine, but now is mine*> "K's Choice"
Does anyone know how to copy a file from a specific location and name to a different location and different name from an Access Database?
e.g. I am in an Access Database and i have a file called "MyFile.xls" saved in 'C:\My Documents' and i need to save a backup of this file into the network - H:\Pens\ on a different Name - "MyFileBackup (Date).xls".
I would know how to implement the Date side of this little problem, but i have no idea of how to copy a file using VBA.
Also, is there a way you can compact a different database at a different location from an Access database i am working on?
is there a way i can maybe map a network drive from the access database?
Help!
thax
Adi
<*Take my future, past, it's fine, but now is mine*> "K's Choice"