Coming soon - Get a detailed view of why an account is flagged as spam!
view details

This post has been de-listed

It is no longer included in search results and normal feeds (front page, hot posts, subreddit posts, etc). It remains visible only via the author's post history.

1
Establishing 'Backups' folder for Database ( .accdb and .xls workbook formats)
Post Flair (click to view more posts with a particular flair)
Post Body

I'm working on a database for a friend and would like to be able to have buttons allowing them to instantly create 1. A backup of the entire database (.accdb) and 2. An Excel workbook containing all the tables in the .accdb with the push of a button. I'm running into trouble trying to set this up.

I have looked into using Macros for this, but exploring all the Actions available (including SaveObject) makes it seem like you can only save individual tables/forms/etc. not the entire database itself. Similarly, while the Macros can export to Excel, they seem to only do this with one table at a time, instead of combining all the tables into a single workbook.

I'm also having a little trouble with establishing the path for these backups; I'd like to have it so they both go to a subfolder in the directory of the .accdb (\Backups\Excel & \Backups\Database) but using ".\Backups" does not work due to my Access having a 'default location' set to My Documents folder (i.e. "." = "My Documents"). The person I'm delivering this too is not too tech-savvy and I'm worried that even if I change MY Access' default directory, hers might still be a problem. I'd like to be able to deliver a folder with the .accdb in it, and have it set up so these backups always go to the "\Backups" folder without having to worry about her moving the master folder around.

Any advice on this would be greatly appreciated. Thanks!

Author
Account Strength
90%
Account Age
12 years
Verified Email
Yes
Verified Flair
No
Total Karma
764
Link Karma
248
Comment Karma
328
Profile updated: 4 days ago
Posts updated: 1 year ago

Subreddit

Post Details

We try to extract some basic information from the post title. This is not always successful or accurate, please use your best judgement and compare these values to the post title and body for confirmation.
Posted
5 years ago