VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

ACCESS BACKUP ROUTINE

Newsgroup Posting  (15 Submissions)   Databases/Data Access/DAO/ADO   Visual Basic 3.0   Unknown Difficulty   Wed 3rd February 2021

A short routine that backups the tables from an open Access database
George Kinney

Assumes
Right now it is basic, it assumes that the tables to backup are in the local database (easily changed, just haven't had a chance to do it.), and just exports EVERYTHING that isn't filtered out. A number of improvements can (and will eventually) be built in so that it can address attached tables, multiple backups, backup logging, etc. These are all things I need to add anyways for a current project, and when they are done, I'll b eposting them to. Apologies are in order to a few of the people I sent code. The function relied on a couple of outside functions, not included in the post, and also contained a lot extraneous junk (you who work with large projects full time know how this stuff accumulates, those who don't, well you'll find out.). To these people, I'm sorry for that, and hope you don't take me to be a complete idiot. (3am is a bad time to reply to mail!) I don't claim to be a programming guru, but I think this example could benefit some people. I recieved a lot of help from others early on, so I intend to give what I can as I can so others can hopefully benefit from me. 'Just call BackupDatabase() with the name of the backup file 'you want to create, and sit back.

API Declarations
Const modulename = "MBackup"

Rate ACCESS BACKUP ROUTINE (5(5 Vote))
ACCESS BACKUP ROUTINE.bas

ACCESS BACKUP ROUTINE Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters