Jun 23, 2004 #1 patyavila Technical User Apr 29, 2004 28 US I must have a Form from which I select different actions... one of which is to import a text file to a Access table. Can anyone help? Thank you
I must have a Form from which I select different actions... one of which is to import a text file to a Access table. Can anyone help? Thank you
Jun 23, 2004 #2 smedvid MIS May 28, 1999 1,228 US One method is to use the following approach. filename = "c:\ImportScores.csv" DoCmd.TransferText acImportDelim, , "tblImportScores", filename You may want to investigate if a spec file is required. Another approach is to open the file and read and parse one line at a time. Obviously less efficient than the Transfer Text method. htwh, Steve Medvid "IT Consultant & Web Master" http://www.saveourfarm.comChester County, PA Residents Please Show Your Support... Upvote 0 Downvote
One method is to use the following approach. filename = "c:\ImportScores.csv" DoCmd.TransferText acImportDelim, , "tblImportScores", filename You may want to investigate if a spec file is required. Another approach is to open the file and read and parse one line at a time. Obviously less efficient than the Transfer Text method. htwh, Steve Medvid "IT Consultant & Web Master" http://www.saveourfarm.comChester County, PA Residents Please Show Your Support...