Results 1 to 4 of 4
  1. #1
    Star Lounger
    Join Date
    Jan 2002
    Location
    Houston, Texas, USA
    Posts
    91
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Backup/Restore Button on Form (2003)

    Can someone tell me, please, is there a way to create a button on a form that will backup/restore the database? OR, if you can't do that, is there a way to remind the user to do a backup periodically?

  2. #2
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts

    Re: Backup/Restore Button on Form (2003)

    You cannot backup or restore a database while it is open, so a button on a form in the database itself is not feasible.

    You can put a reminder in a label on a form, or you can display a message box when the database is opened, or ...

  3. #3
    4 Star Lounger
    Join Date
    Jan 2003
    Location
    Central Florida, USA
    Posts
    505
    Thanks
    5
    Thanked 0 Times in 0 Posts

    Re: Backup/Restore Button on Form (2003)

    I don't know if you mean backing up a database that includes the data and the forms, or just the data. If you are only wanting to back up the data, you can put the data in a backend and then "backup" the data that way. I have successfully "backed up" the backend of databases using a button on a form in the front end, as long as none of the tables are open at the time I make the back up.

  4. #4
    Platinum Lounger
    Join Date
    Nov 2001
    Location
    Vienna, Wien, Austria
    Posts
    5,009
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Backup/Restore Button on Form (2003)

    If you're using a Switchboard for the DB, you can build in a backup procedure message box to the Exit command button. Access 2003 has its own backup capabilities, but you can also try looking at the sample for Access Archon in Woody's Access Watch 5.16 (November 2003). HTH
    Gre

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •