P
PeteVTX
Can anyone help?
Our Network Switch produces a range of traffic reports in CSV format -
however we need to manipulate this data in Access. Therefore I need to import
one of the CSV reports into an Access application that produces the results
we need. I know I can use the following to do this:
CurrentDb.Execute "Delete * from tbl_egressByZone"
DoCmd.TransferSpreadsheet acImport, acSpreadsheetTypeExcel3, _
"tbl_egressByZone", "C:\Documents and Settings\userName\Desktop\DT
Files\Egress By Zone.csv", True
However the CSV file contains 4 rows prior to the field heading rows that
are superfluous. Of course I can manually remove these rows from the CSV file
before I run the application but I wondered whether I could do this
automatically from within Access before importing the file.
Any help appreciated
Regards
Pete
Our Network Switch produces a range of traffic reports in CSV format -
however we need to manipulate this data in Access. Therefore I need to import
one of the CSV reports into an Access application that produces the results
we need. I know I can use the following to do this:
CurrentDb.Execute "Delete * from tbl_egressByZone"
DoCmd.TransferSpreadsheet acImport, acSpreadsheetTypeExcel3, _
"tbl_egressByZone", "C:\Documents and Settings\userName\Desktop\DT
Files\Egress By Zone.csv", True
However the CSV file contains 4 rows prior to the field heading rows that
are superfluous. Of course I can manually remove these rows from the CSV file
before I run the application but I wondered whether I could do this
automatically from within Access before importing the file.
Any help appreciated
Regards
Pete