Creating a backup copy

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have created a project costing database. I want to give
users the ability to make backups of the mdb file via
a "utility" form within the database. When the user
chooses to create a backup, I would like a new mdb file be
created, that includes a timestamp in the name, and
includes all the database objects from the original
database
Any ideas
 
It's a new function in Access 2003. If the file is opened in shared mode,
you can probably get by with just copying the file using the VBA FileCopy
command. The only problem would be if you tried to copy at the same instant
someone was making a change to the file. If this happened the copy would
probably be unreliable.

The following links may give some better ideas.
http://www.mvps.org/access/api/api0026.htm
http://www.mvps.org/access/modules/mdl0045.htm

Also, some backup programs have what is called an "Open File Option" to
allow them to backup open files. I've heard mixed reports on how well these
work.

--
Wayne Morgan
Microsoft Access MVP


Rob-LMS said:
I'm using Office XP. Is there a similar function or recommended
programming approach?
 

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

Create database backup 1
Backup data 2
backup of database with multiple backend data bases 5
schedule backup database 1
Any reason for this? 2
Creating a Database 4
Copying Tables 8
Backup fails to complete 2

Back
Top