E
ES
I am using the docmd.transfertext command to load a csv file into my
database.
DoCmd.TransferText acImportDelim, "CsvImpSpec", strTable, strFile, False
The file I am loading has 4 records that violate the primary keys in the
table.
The TransferText command is just skipping these records and is not showing
an error. In the past if a record did not fit the field properties
TransferText would create an error table. Is there a way to catch the error
and identify the records or do I need to remove the primary keys | import the
data | ID bad data | fix records | reset the keys?
Any thoughts would be appreciated.
database.
DoCmd.TransferText acImportDelim, "CsvImpSpec", strTable, strFile, False
The file I am loading has 4 records that violate the primary keys in the
table.
The TransferText command is just skipping these records and is not showing
an error. In the past if a record did not fit the field properties
TransferText would create an error table. Is there a way to catch the error
and identify the records or do I need to remove the primary keys | import the
data | ID bad data | fix records | reset the keys?
Any thoughts would be appreciated.