I have a macro that imports text to a table to update the table with new data. The import works perfect accept Access gives me the following message:
"The contents in fields 0 record(s) were deleted, and ##### records were lost due to key violations. *If the data you pasted or imported doesn't match the field data types or the FieldSize property in the destination table. *If the record were lost, either the records you pasted contain primary key values that already exist in the destination table, or they violate referential integrity rules for a relationship defined between tables. Do you want to proceed anyway?. [Yes] [NO] [Cancel]"
I have checked the data being imported and it is fine. I'm sure I have garbage from DOS that is causing validation issues as well as having pre-existing values in the table. So my data and import functions are fine. I just want to know how I can hide this error message or turn it off so that it does not cause concern to the users. Any help would relive stress and nervousness of others!!! Thanks in advance for your help!
"The contents in fields 0 record(s) were deleted, and ##### records were lost due to key violations. *If the data you pasted or imported doesn't match the field data types or the FieldSize property in the destination table. *If the record were lost, either the records you pasted contain primary key values that already exist in the destination table, or they violate referential integrity rules for a relationship defined between tables. Do you want to proceed anyway?. [Yes] [NO] [Cancel]"
I have checked the data being imported and it is fine. I'm sure I have garbage from DOS that is causing validation issues as well as having pre-existing values in the table. So my data and import functions are fine. I just want to know how I can hide this error message or turn it off so that it does not cause concern to the users. Any help would relive stress and nervousness of others!!! Thanks in advance for your help!