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 IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Import csv file into Access table 1

Status
Not open for further replies.

LD1010

Technical User
Dec 6, 2001
78
US
I receive a csv(comma delimited) file each day that needs to be importated into Access. I've tried the following code but can't seem to make it work.

Private Sub Img1_Click()

DoCmd.TransferText , acImportDelim, "tblFLIFOlog", _
"C:\Documents and Settings\remote\Desktop\FLIFO\FLIFOmonitorReport2.csv", -1

End Sub

I'd appreciate any help in learning how to do this. Thanks in advance.
 
What about this ?
DoCmd.TransferText acImportDelim, , "tblFLIFOlog", _
"C:\Documents and Settings\remote\Desktop\FLIFO\FLIFOmonitorReport2.csv", -1

Hope This Helps, PH.
FAQ219-2884
FAQ181-2886
 
Thanks again PHV!! That's twice this weekend you've helped me out. Given enough time and help I may actually learn to get by in VBA. Have a great Easter!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top