hi there
we (unfortunately) use access as our DBs for our little surveys. when we think that a survey will be particularly busy, we run a little script that dumps all the tables on our SQL server box, and makes linked tables in the Access DB.
this all works fine, and does give us a certain amount of performance increase
however, when it comes to pulling all the data back into access, we are at the mo, doing this all by hand
I am wondering if it is possible to do this with VBA, or i would be better serverd by writing a little asp script and doing it like that
what needs to be done - the steps we take when doing it manually are these
1. delete all the linked tables
2. import all the data from the SQL databse back into access (there is a DSN to the SQL server instance)
3. stopping the DB on the sql box
actuallly , looking at it like this, seems pretty simple, but VBA, or asp ?
any thoughts?
i was thining i could just select * into newtable for each of the ones i need
but can you set up a DB connection to another DB easily in VBA?
any help much appreciated
thanks
nat
we (unfortunately) use access as our DBs for our little surveys. when we think that a survey will be particularly busy, we run a little script that dumps all the tables on our SQL server box, and makes linked tables in the Access DB.
this all works fine, and does give us a certain amount of performance increase
however, when it comes to pulling all the data back into access, we are at the mo, doing this all by hand
I am wondering if it is possible to do this with VBA, or i would be better serverd by writing a little asp script and doing it like that
what needs to be done - the steps we take when doing it manually are these
1. delete all the linked tables
2. import all the data from the SQL databse back into access (there is a DSN to the SQL server instance)
3. stopping the DB on the sql box
actuallly , looking at it like this, seems pretty simple, but VBA, or asp ?
any thoughts?
i was thining i could just select * into newtable for each of the ones i need
but can you set up a DB connection to another DB easily in VBA?
any help much appreciated
thanks
nat