Back up Database Button

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

Guest

I'm trying to make a backup database button on my switchboard. Is this possible? If so, then what's the Back up Database run code command? Any help will be appreciated.
 
What you describe is not possible (to my knowledge). An Access MDB must be
closed before a copy/backup operation. DBMaint is a good third-party tool
for MDB compact and backup.
-Ed

Clockwork said:
I'm trying to make a backup database button on my switchboard. Is this
possible? If so, then what's the Back up Database run code command? Any help
will be appreciated.
 
Thanks. Although I've already read about how it has to be closed before it can be backed up. But When you click on the Back up Database option under Database Utilities It closes the MDB you have open, backs it up, and then reopens the file. That's what I failed to mention. Maybe I misunderstood what I've read
 
What you state is correct. Remember though, you're trying to use code
contained within an mdb to: close itself, then reopen - a desirable, but
impossible task.
-Ed

Clockwork said:
Thanks. Although I've already read about how it has to be closed before it
can be backed up. But When you click on the Back up Database option under
Database Utilities It closes the MDB you have open, backs it up, and then
reopens the file. That's what I failed to mention. Maybe I misunderstood
what I've read?
 
Back
Top