VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

Database Table Copy

Shawn Jetton  (1 Submission)   Databases/Data Access/DAO/ADO   Visual Basic 3.0   Beginner   Wed 3rd February 2021

This code will copy all fields from all tables in a database and add them to another identical database.
My company has Rep submitting database reports all the time. I need to append the data from the reports database to a live database. At first I was running querys I had made in the database but our file structure changed and that was no long an option. This is about as simple as it gets but someone might find it useful.

Inputs
Call the function like this. AddData "C:\My Documents\Test\From.mdb", "C:\My Documents\Test\To.mdb"

Side Effects
None that I know of.

Rate Database Table Copy (3(3 Vote))
Database Table Copy.bas

Database Table Copy Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters