G
Guest
I have a number of text files that I am trying to import into Access and/or
SQL Server. The files are delimited with the pipe sign (|). Most work without
a problem using the TransferDatabase method. However, any fields with a
double quote are not imported. I've specified the delimiter using a
schema.ini file. It seems like DAO treats the double quote as a delimiter no
matter what is set as the delimiter property.
One way I've worked around this is using the TransferText method but I need
code that will work with ADO and the schema.ini is only supported in ADO. The
same problem surfaces using the INSERT INTO MyTable (SELECT * FROM
MyTable.TXT). Any ideas would be greatly appreciated!
SQL Server. The files are delimited with the pipe sign (|). Most work without
a problem using the TransferDatabase method. However, any fields with a
double quote are not imported. I've specified the delimiter using a
schema.ini file. It seems like DAO treats the double quote as a delimiter no
matter what is set as the delimiter property.
One way I've worked around this is using the TransferText method but I need
code that will work with ADO and the schema.ini is only supported in ADO. The
same problem surfaces using the INSERT INTO MyTable (SELECT * FROM
MyTable.TXT). Any ideas would be greatly appreciated!