Greetings, I need to import a csv or text file either one and it keeps turning a text field into numeric when imported. There are only five fields. Here's an example of how I'm doing the import:
There are five fields and I have the table design set so the fourth and fifth fields are text.
The itemno field would be something like this: 020416RP but it's being translated as a number and strips off the leading zero and the RP. It doesn't matter whether it's a csv or txt file. I don't know how to fix this or force it to import as text into that field. Any thoughts would be greatly appreciated. Many thanks in advance.
Code:
txtFile="c:/test.csv"
DoCmd.TransferText acImportDelim, , "tblEUImport", txtFile, True
Code:
breakout,budget,orqty,itemno,description