L
Lee
Hi
Is it possible to overwrite or delete the original data which is causing
the key violations in the import.
I am trying to import data from Excel which contains the following fields:
Division, CostCentre, Period & Value
Division, CostCentre and Period are all text fields and I have also
defined these 3 fields as the primary key for the table. This is so that
I can ensure the Value for each CostCentre in each Period is unique.
If the values are updated for whatever reason, how can I ensure that any
record that causes a key violation is deleted and replaced with the
record from the most recent import. I do not want to link the
spreadsheet data.
Thank you
Lee
I am also eventually going to put the import vb code into a 'button' to
automate so any help or pointers you can give I'd appreciate
Thanks again
Is it possible to overwrite or delete the original data which is causing
the key violations in the import.
I am trying to import data from Excel which contains the following fields:
Division, CostCentre, Period & Value
Division, CostCentre and Period are all text fields and I have also
defined these 3 fields as the primary key for the table. This is so that
I can ensure the Value for each CostCentre in each Period is unique.
If the values are updated for whatever reason, how can I ensure that any
record that causes a key violation is deleted and replaced with the
record from the most recent import. I do not want to link the
spreadsheet data.
Thank you
Lee
I am also eventually going to put the import vb code into a 'button' to
automate so any help or pointers you can give I'd appreciate
Thanks again