PRB: Filter Property Fails When Using Multiple Single Quotation Marks (202955)
The information in this article applies to:
- Microsoft Data Access Components 1.5
- Microsoft Data Access Components 2.0
- Microsoft Data Access Components 2.1
- Microsoft Data Access Components 2.1 (GA)
- Microsoft Data Access Components 2.1 SP1
- Microsoft Data Access Components 2.1 SP2
- Microsoft Data Access Components 2.5
- Microsoft Data Access Components 2.6
- Microsoft Data Access Components 2.7
This article was previously published under Q202955 SYMPTOMS
When you filter a recordset for a character field that contains more than one single quotation mark, for instance CompanyName = O'Riley's Pub, one of the following error messages is displayed:
Run-time Error '3001' Arguments are of the wrong type, are out of acceptable range, or are in conflict with one another.
-or-
Run-time Error '-2147024809 (80070057)': The parameter is incorrect.
RESOLUTIONFor additional information about workarounds for this issue, click the article number below
to view the article in the Microsoft Knowledge Base:
245408 HOWTO: Find a Record Using Complex Criteria with ADO
Modification Type: | Major | Last Reviewed: | 5/8/2003 |
---|
Keywords: | kbClient kbDatabase kbprb KB202955 |
---|
|