jstricklin
Technical User
Hi all,
This is a great forum. I've gotten some excellent tips here. Thank you all.
My question is this.
Each month I download and import data from our online live database into access. Our organization has multiple sites, but the data all come down together with a "site code" that identifies each site's records within each table. In short, I start with one big database with all of the data for every site.
I am looking for a way to automate archiving each site's data into seperate .mdb's from the .mdb that contains all of the data, every month.
The database that contains all of the data has one table that contains the "site codes" for every site.
I am wondering if anyone has an example of code that would Create a new .mdb for every site using the sitecodes in the sitecode table, and then append the data into its respective mdb, then use the site code to name the .mdb. I was also thinking I could have a form where I enter the new path for all of the .mdb's to be archived to each time i run proposed archive program.
I hope this is clear.
Sincere thanks,
jstricklin
This is a great forum. I've gotten some excellent tips here. Thank you all.
My question is this.
Each month I download and import data from our online live database into access. Our organization has multiple sites, but the data all come down together with a "site code" that identifies each site's records within each table. In short, I start with one big database with all of the data for every site.
I am looking for a way to automate archiving each site's data into seperate .mdb's from the .mdb that contains all of the data, every month.
The database that contains all of the data has one table that contains the "site codes" for every site.
I am wondering if anyone has an example of code that would Create a new .mdb for every site using the sitecodes in the sitecode table, and then append the data into its respective mdb, then use the site code to name the .mdb. I was also thinking I could have a form where I enter the new path for all of the .mdb's to be archived to each time i run proposed archive program.
I hope this is clear.
Sincere thanks,
jstricklin