I wrote a visual basic program to convert information into a form that can be imported into access. It works fine, except when a duplicate record exists. I want to replace this record with the new information but I cannot find a command to do it. I am currently using the DoCmd.TransferText command and there doesn't appear to be any parameters to force it to replace an existing key.