Article ID: 205439 - View products that this article applies to.
This article was previously published under Q205439
When you use data access technologies such as Microsoft Data Access Objects (DAO) or Microsoft ActiveX Data Objects (ADO) to open text files that contain a non-standard delimiter (such as a single quotation mark), the delimiter appears in the field data. Furthermore, text fields that contain an embedded field separator (such as a comma) do not parse properly.
For example, if a text file is formatted as follows:
The recordset field data for the first column contains the following text:
'Doe, Jane','1 Main St.','Redmond','WA'
and not 'Doe, Jane' as expected. This problem does not occur if you use double quotation marks to delimit text fields.
This problem occurs because the Microsoft Jet engine text Indexed Sequential Access Method (ISAM) or Microsoft Text ODBC Driver, which is contained in Odbcjt32.dll or the microsoft.jet.oledb.x.x OLE DB Provider, expects either a double quotation mark or no text delimiter at all. If you use double quotation marks as the text delimiter in the above-mentioned text file, this parsing problem does not occur. This problem only occurs when you use non-standard text delimiters.
To resolve this problem, use one of the following methods:
For additional information, click the article number below to view the article in the Microsoft Knowledge Base:
(http://support.microsoft.com/kb/210073/EN-US/ )ACC2000: How to Use Schema.ini to Access Text Data
(http://support.microsoft.com/kb/210001/EN-US/ )ACC2000: How to Programmatically Create a Schema.ini File
Article ID: 205439 - Last Review: December 3, 2003 - Revision: 3.1
Contact us for more help
Connect with Answer Desk for expert help.