ACC2000: Error Applying Filter If the Form's Recordset Property Is Set Programmatically (225980)
The information in this article applies to:
This article was previously published under Q225980 Advanced: Requires expert coding, interoperability, and multiuser skills.
This article applies only to a Microsoft Access database (.mdb).
SYMPTOMS
When you try to apply a filter to a form, you may receive the following error message:
Cannot apply Filter on one or more fields specified in the Filter property.
When you click OK, you receive the following error message:
An unknown error has occurred.
When you click OK again, you see that no filter is applied.
CAUSE
You are setting the Recordset property for a form programmatically, and you tried to apply a filter to the form.
RESOLUTION
If you plan to use a filter on a form, do not set the Recordset property of the form programmatically. Instead, base the form on a query or a table.
STATUSMicrosoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.
Modification Type: | Minor | Last Reviewed: | 10/11/2006 |
---|
Keywords: | kbbug kberrmsg kbpending KB225980 |
---|
|