Import CSV data does not work as expected
Posted: 2023-09-27 15:27
Hi everyone,
I would like to import data from a CSV file, but only those records that already exist in my table. So, I checked (ticked) the "Update matching table records (using primary key) check box." Despite this, the application adds records where the primary key does not match.
To test, I created a CSV file with three lines: the header line, one line with an existing primary key, and one line with a primary key that does not exist in the table.
This results in updating the record with the existing primary key, but also creating a new record with the new primary key.
What am I doing wrong?
Thanks
I would like to import data from a CSV file, but only those records that already exist in my table. So, I checked (ticked) the "Update matching table records (using primary key) check box." Despite this, the application adds records where the primary key does not match.
To test, I created a CSV file with three lines: the header line, one line with an existing primary key, and one line with a primary key that does not exist in the table.
This results in updating the record with the existing primary key, but also creating a new record with the new primary key.
What am I doing wrong?
Thanks