M
Mike
I am trying to import a CSV file in VBA and am having a few problems
with one of the imports. The .csv file contains row headers and there
are 7 rows titled "Descriptive Text." When I try to run the code:
DoCmd.TransferText transfertype:=acImportDelim, _
TableName:=strTable, _
FileName:=strTextFile, _
hasfieldnames:=True
I get an error: "Error No: 3063: Duplicate output destination
'Descriptive Text'.
The table that I am importing to has field names of Descriptive text,
Descriptive text 2, etc...
I only need the data that is listed in the first two descriptive text
columns. Is there any way to specify what columns to import or a way
of not importing the first row headings and skipping to row number 2?
Thanks a bunch in advance.
Mike
with one of the imports. The .csv file contains row headers and there
are 7 rows titled "Descriptive Text." When I try to run the code:
DoCmd.TransferText transfertype:=acImportDelim, _
TableName:=strTable, _
FileName:=strTextFile, _
hasfieldnames:=True
I get an error: "Error No: 3063: Duplicate output destination
'Descriptive Text'.
The table that I am importing to has field names of Descriptive text,
Descriptive text 2, etc...
I only need the data that is listed in the first two descriptive text
columns. Is there any way to specify what columns to import or a way
of not importing the first row headings and skipping to row number 2?
Thanks a bunch in advance.
Mike