kjharve
Board Regular
- Joined
- Jan 4, 2006
- Messages
- 206
Hi,
I am running two databases. The first database contains a table which I would like to feed two different tables in the second database (the structures are not the same.)
In order to extract the data from the feed table I have linked to it. Then, I have used ADO to query the linked table and stored the data I need in a recordset.
Now, the tables I am looking to write to will have this update performed monthly. Some records will stay the same, some records will change, some records will be deleted and new records will be added. So, the best way (I think) to make sure the data is correct is to clear the data from the destination table and write the whole table again from the recordset.
I am creating a temporary table in case the upload of data goes wrong and then deleting all records from the destination table.
The recordset will be exactly how I want it to appear in the table. What I want to know is how can I easily dump all the data from the recordset into the destination table?
Am I asking the right question here or is my approach wrong?
Any suggestions folks?
I am running two databases. The first database contains a table which I would like to feed two different tables in the second database (the structures are not the same.)
In order to extract the data from the feed table I have linked to it. Then, I have used ADO to query the linked table and stored the data I need in a recordset.
Now, the tables I am looking to write to will have this update performed monthly. Some records will stay the same, some records will change, some records will be deleted and new records will be added. So, the best way (I think) to make sure the data is correct is to clear the data from the destination table and write the whole table again from the recordset.
I am creating a temporary table in case the upload of data goes wrong and then deleting all records from the destination table.
The recordset will be exactly how I want it to appear in the table. What I want to know is how can I easily dump all the data from the recordset into the destination table?
Am I asking the right question here or is my approach wrong?
Any suggestions folks?