Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

transfertext error 3440

Status
Not open for further replies.

wsuh

Programmer
Jun 28, 2001
6
US
I'm having problems with the transfertext method in Access97. Although I can import the tab delimited files using the get external data/import function from the drop down menu, I can't execute the following:

file_name = "C:\Won\Apps\losaht.txt"
table_name = "tblAHT"

DoCmd.TransferText acImportDelim, "", table_name, file_name, False, ""

I receive the following error message:

error 3440:An attempt was made to import or link an empty text file.

The text file is not empty. any ideas? Thanks.
 
Hi!
Create Import Specification for importing of delimited text type data.
Aivars
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top