hello,
I want to import a .csv file into Access 2003 using VBA-code. However, the data is being stored in the first column, separated by the ':' mark. Every record is one row. So, only column A has been filled with data in the .csv file.
My 2 questions:
Is there an Access function for importing a .csv file? I know the function for importing a .xls file is called 'TransferSpreadsheet', but that doesn't seem to work for the .csv extension...
Secondly, is it possible to split the data into different table fields while importing in Access? The ':' mark should be the trigger for a new field.
Or should I do this in the .csv file before importing?
For example, in Excel:
Column A
:William :Weaver :12-01-1976
:Maria :Manson :01-09-1980
Should be imported into an Access table like this:
Field1 Field2 Field3
William Weaver 12-01-1976
Maria Manson 01-09-1980
Any help would be greatly appreciated!
Thanx!
I want to import a .csv file into Access 2003 using VBA-code. However, the data is being stored in the first column, separated by the ':' mark. Every record is one row. So, only column A has been filled with data in the .csv file.
My 2 questions:
Is there an Access function for importing a .csv file? I know the function for importing a .xls file is called 'TransferSpreadsheet', but that doesn't seem to work for the .csv extension...
Secondly, is it possible to split the data into different table fields while importing in Access? The ':' mark should be the trigger for a new field.
Or should I do this in the .csv file before importing?
For example, in Excel:
Column A
:William :Weaver :12-01-1976
:Maria :Manson :01-09-1980
Should be imported into an Access table like this:
Field1 Field2 Field3
William Weaver 12-01-1976
Maria Manson 01-09-1980
Any help would be greatly appreciated!
