I have a text file that I'm trying to import. my table is setup as:
ID: Autonumber PK
Toship: text
Pickup Number: Text
Order Detail: Text
and a few others that aren't relevant.
My problem is upon import with "DoCmd.Transfer Text acImportDelim = "|", , "tblRegular 08", "S:\CSS Folder\2008 Freight Info\CSSSEKO.tx t", False" the Toship is overwriting the PK and all the values are shifted to the left one field. Is there something I need to do when importing to a table with a PK?
ID: Autonumber PK
Toship: text
Pickup Number: Text
Order Detail: Text
and a few others that aren't relevant.
My problem is upon import with "DoCmd.Transfer Text acImportDelim = "|", , "tblRegular 08", "S:\CSS Folder\2008 Freight Info\CSSSEKO.tx t", False" the Toship is overwriting the PK and all the values are shifted to the left one field. Is there something I need to do when importing to a table with a PK?
Comment