Article ID: 235892 - Last Review: August 23, 2001 - Revision: 1.0 PRB: 800a0bb9 Error Message When Applying a Filter to an ADO RecordsetThis article was previously published under Q235892 SYMPTOMS
When setting the Filter property of an ADO recordset, the following error is returned:
ADODB.Recordset error '800a0bb9' The application is using arguments that are of the wrong type, are out of acceptable range, or are in conflict with one another. CAUSE
This error can occur if the filter syntax is incorrect. This commonly occurs when using AND and OR operators and grouping clauses with parentheses. Though there is no precedence for AND and OR, the ADO Filter property does not allow you to group OR clauses within parentheses and AND clauses without parentheses.
For example, the following value for a filter returns the error: RESOLUTION
To resolve the problem, rewrite your filter statement to not combine OR clauses grouped within parentheses as parts of a larger AND clause.
The following three variations do not return the error: For example, the following filter syntax that returns the error: STATUS
This behavior is by design.
APPLIES TO
| Article Translations
|


Back to the top
