Hi.
I am trying to backup a database that is open, but at a time where there should be no activity.
The FileCopy function returns an access denied error (as does shell(copy...) function), as the database is open.
Is anyone aware of a simple way of backing up an access db while it is open? (and the current application db is connected to it - and maybe others also)
I can use windows explorer to manually copy the file, with success, but I need to be able to do it from code.
I had a look at the general backup thread, and normal backup software just skips open database files - and never backs them up!!!
Gzep.
I am trying to backup a database that is open, but at a time where there should be no activity.
The FileCopy function returns an access denied error (as does shell(copy...) function), as the database is open.
Is anyone aware of a simple way of backing up an access db while it is open? (and the current application db is connected to it - and maybe others also)
I can use windows explorer to manually copy the file, with success, but I need to be able to do it from code.
I had a look at the general backup thread, and normal backup software just skips open database files - and never backs them up!!!
Gzep.