I have c# app which should append rows to MS Access table.
That table is basically a composition of 3 tables (let's say they all have a single column
Table1 with column A, Table2 - column B, Table3 - column C
Query - INSERT INTO Table4 (SELECT A, B, C FROM Table1, Table2, Table3)
Obviously it runs ok only for first time only and generates "Duplicate records" error after that.
It's easy to handle within Access but not from c# code.
What do I do, so it only appends a new rows and ignores duplicates without writing a long code?
Appending to the Access DB from c#
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.

Mahesh ChandRank #1 · 393.4K reputationPosted Sep 16, 2012, 5:45 AM EDT
Elmar12 reputationPosted Sep 16, 2012, 8:17 AM EDT
Cities: CityID, Name
Commodities: CommodityID, Title
ProcessSteps: StepID, Description
I need to have a table with StepDurationInDays and AssignedPerson for each combination of City+Commodity+Step