Hi,
I have been trying forever (or so it seems) to try to import txt files in a directory by using wildcard. Can this be done?
I have to create a txt file with a different file name eg:
darrell.txt
jane.txt
if i create a txt file one after the other i just overwrites the first. it has to be separate because each file is for one customer only.
When i use the wildcard in the import code it says it cant find the file *.txt
this is the import code:
DoCmd.TransferText acImportDelim, "Main_Hirer", "Main_Hirer_Tbl", "C:\TestExport\*.txt"
All Help Welcomed
Darrell...
I have been trying forever (or so it seems) to try to import txt files in a directory by using wildcard. Can this be done?
I have to create a txt file with a different file name eg:
darrell.txt
jane.txt
if i create a txt file one after the other i just overwrites the first. it has to be separate because each file is for one customer only.
When i use the wildcard in the import code it says it cant find the file *.txt
this is the import code:
DoCmd.TransferText acImportDelim, "Main_Hirer", "Main_Hirer_Tbl", "C:\TestExport\*.txt"
All Help Welcomed
Darrell...