hi all
i try to accomplish with
DoCmd.TransferText acImportDelim, "Schema.ini", "TestTable", "1.txt"
that unfortunally comes with the 3625 error: "the text file specification "Schema.ini" does not exists". i've tried to put the whole path like "D:\\BlaBlaBla\\Schema.ini" but without effect
when i wipe out schema param, all goes fine:
DoCmd.TransferText acImportDelim, , "TestTable", "1.txt"
but i retrieve all the 1.txt data in one column named F1 instead of separate columns.
here go my files
1.txt (tab delimited):
read the f manual
search the f web
do the right things
and Schema.ini:
ColNameHeader=False
Format=TabDelimited
MaxScanRows=0
CharacterSet=OEM
Col1="first" Char Width 10
Col2="second" Char Width 10
Col3="third" Date Width 10
Col4="fourth" Date Width 10
both are allocated in the same directory.
any suggestions?
i try to accomplish with
DoCmd.TransferText acImportDelim, "Schema.ini", "TestTable", "1.txt"
that unfortunally comes with the 3625 error: "the text file specification "Schema.ini" does not exists". i've tried to put the whole path like "D:\\BlaBlaBla\\Schema.ini" but without effect

when i wipe out schema param, all goes fine:
DoCmd.TransferText acImportDelim, , "TestTable", "1.txt"
but i retrieve all the 1.txt data in one column named F1 instead of separate columns.
here go my files
1.txt (tab delimited):
read the f manual
search the f web
do the right things
and Schema.ini:
ColNameHeader=False
Format=TabDelimited
MaxScanRows=0
CharacterSet=OEM
Col1="first" Char Width 10
Col2="second" Char Width 10
Col3="third" Date Width 10
Col4="fourth" Date Width 10
both are allocated in the same directory.
any suggestions?