Hey Guys,
I'm running a code that imports a few .txt files as linked tables in my access, but i needed to create a IF, THEN, ELSE statement with the condition that follows:
File Name is already defined and is the name for each text file which is also the same name of each table. I still dont know too how to go to next loop in the THEN statement. Can anyone help me
It should be something like, if table exist then go to next loop
thx in advance
I'm running a code that imports a few .txt files as linked tables in my access, but i needed to create a IF, THEN, ELSE statement with the condition that follows:
If FileName = Table name from Access
Then go to next loop
Else DoCmd.TransferText acLinkDelim, "Apollo Link Specification1", FileName, "G:\xTemp\txt.NET\" & FileName, True, ""
File Name is already defined and is the name for each text file which is also the same name of each table. I still dont know too how to go to next loop in the THEN statement. Can anyone help me
It should be something like, if table exist then go to next loop
thx in advance
Last edited: