stu999
Board Regular
- Joined
- Aug 28, 2008
- Messages
- 183
Hi
What I would like to do is to import multiple CSV files into a table to use to create reports from selected result CSV files.
I have created the list box looking at the location and listing all files there and can get it to clear the table and import one CSV.
Just need some guidance on the best way to import more than one CSV into the table?
My code for importing one file is:
Thanks
What I would like to do is to import multiple CSV files into a table to use to create reports from selected result CSV files.
I have created the list box looking at the location and listing all files there and can get it to clear the table and import one CSV.
Just need some guidance on the best way to import more than one CSV into the table?
My code for importing one file is:
Code:
Private Sub bttnCSV_Click()
Dim mySQL
mySQL = "DELETE * FROM ArgonMonitor"
DoCmd.RunSQL mySQL
DoCmd.TransferText acImportDelim, , "ArgonMonitor", aFileList, True
End Sub
Private Sub Form_Load()
Call ListFiles("C:\Temp\ftpargon", , , Me.aFileList)
End Sub