I have reviewed numerous posts both here and on Google and can’t seem to find the right solution to what I thought would be a common problem.
I have a table named “tblHTags” that contains 5 columns, two of which are “HTag” and “ProductID”. The original “tblHTags” table was created from a CSV file that needs to be updated on a weekly basis. How can I import a more current external CSV file without overwriting existing historical data? I only need to capture the newly added information contained in the CSV file. Normally, I would use a Find Unmatched query and then an Append query to accomplish this. My problem, how to accomplish this if I have two columns that need to be filtered? Both the “Htag” and “ProductID” fields can have duplicates in the column. I need to filter the record if it matches both “Htag” and “ProductID”.
This would be okay:
ID___HTag_______ProductID__Publisher__Version___TimeStamp
1____ISW12345___555111___Thomson___7.0.1_____11/1/2009
2____ISW12345___331122___InTech_____2.0_______4/14/2011
3____ISL56998____555111___Thomson___8.2_______4/16/2011
I need to filter this:
ID___HTag_______ProductID__Publisher__Version___TimeStamp
1____ISW12345___555111___Thomson___7.0.1_____11/1/2009
2____ISW12345___331122____InTech____2.0_______4/14/2011
3____ISW12345___331122____InTech____2.0_______4/14/2011
4____ISL56998____555111____Thomson__8.2______4/16/2011
5____ISL56998____555111____Thomson__8.2______4/16/2011
I need to somehow be able to append the new CSV data into the existing table without creating duplicates using BOTH the “Name” AND “ProductID” columns.
Can this be done?
I have a table named “tblHTags” that contains 5 columns, two of which are “HTag” and “ProductID”. The original “tblHTags” table was created from a CSV file that needs to be updated on a weekly basis. How can I import a more current external CSV file without overwriting existing historical data? I only need to capture the newly added information contained in the CSV file. Normally, I would use a Find Unmatched query and then an Append query to accomplish this. My problem, how to accomplish this if I have two columns that need to be filtered? Both the “Htag” and “ProductID” fields can have duplicates in the column. I need to filter the record if it matches both “Htag” and “ProductID”.
This would be okay:
ID___HTag_______ProductID__Publisher__Version___TimeStamp
1____ISW12345___555111___Thomson___7.0.1_____11/1/2009
2____ISW12345___331122___InTech_____2.0_______4/14/2011
3____ISL56998____555111___Thomson___8.2_______4/16/2011
I need to filter this:
ID___HTag_______ProductID__Publisher__Version___TimeStamp
1____ISW12345___555111___Thomson___7.0.1_____11/1/2009
2____ISW12345___331122____InTech____2.0_______4/14/2011
3____ISW12345___331122____InTech____2.0_______4/14/2011
4____ISL56998____555111____Thomson__8.2______4/16/2011
5____ISL56998____555111____Thomson__8.2______4/16/2011
I need to somehow be able to append the new CSV data into the existing table without creating duplicates using BOTH the “Name” AND “ProductID” columns.
Can this be done?