In Access 2007:
I'm attempting to automate the import of a delimited text file without success. I can manually import the text file with the wizard without problem. When I use the command
where strFileName is obtained thru the file dialog, I get a table with a single field named "ÿþ" and a potful of paste errors.
FWIW, looking at the text file reveals that lines are not terminated with both CR & LF.
I'd attach the text file but it contains confidential information.
Any clues as to what's going on?
Thanks.
George
I'm attempting to automate the import of a delimited text file without success. I can manually import the text file with the wizard without problem. When I use the command
Code:
DoCmd.TransferText acImportDelim, , "BB_Download", strFileName, -1
FWIW, looking at the text file reveals that lines are not terminated with both CR & LF.
I'd attach the text file but it contains confidential information.
Any clues as to what's going on?
Thanks.
George