G
Gary Roach
i want to import data from a tab separated text file. i can do this with the
wizard no problem and it recognizes the tabs a delimiters. however, when i
try it with vba, it ignores the special meaning of the tabs and treats the
entire line of the text file as one field. here's the code:
DoCmd.TransferText , , "testout2", "C:\Documents and
Settings\gary\Desktop\d & s thetics\testout.tab", True
i even gave the file a .tab extension to give the program a hint that it's
tsv. i can't find anything in the on-line doc to tell the command what the
delimiter is. any ideas? all help is greatly appreciated.
gary
wizard no problem and it recognizes the tabs a delimiters. however, when i
try it with vba, it ignores the special meaning of the tabs and treats the
entire line of the text file as one field. here's the code:
DoCmd.TransferText , , "testout2", "C:\Documents and
Settings\gary\Desktop\d & s thetics\testout.tab", True
i even gave the file a .tab extension to give the program a hint that it's
tsv. i can't find anything in the on-line doc to tell the command what the
delimiter is. any ideas? all help is greatly appreciated.
gary