I'm using VBA and DoCmd.TransferText with a specification file to import data from a csv file into a table.
The table has an indexed field, No duplicates.
Initial run is ok.
Importing the same csv file the second time, generates an MS Access build-in message which is correct as it conflicts with the indexed field.
How can I trap this build-in message and replace it with my own?
Note:
The build-in message isn't an error with error number and or description.
Thanks
The table has an indexed field, No duplicates.
Initial run is ok.
Importing the same csv file the second time, generates an MS Access build-in message which is correct as it conflicts with the indexed field.
How can I trap this build-in message and replace it with my own?
Note:
The build-in message isn't an error with error number and or description.
Thanks