ACC2002: Filter By Selection Does Not Handle Wildcard Characters Well (275066)
The information in this article applies to:
This article was previously published under Q275066 Novice: Requires knowledge of the user interface on single-user computers.
This article applies only to a Microsoft Access database (.mdb).
SYMPTOMS
When you use the question mark (?) or the asterisk (*) character as the criteria for a "Filter By Selection," the filter is not applied.
CAUSE
Microsoft Access interprets the ? and the * characters as wildcard characters.
RESOLUTION
Manually insert square brackets ([ ]) around the character in the filter statement. To see an example of how to do this, follow these steps:
- Select the character on which to filter.
- On the Records menu, point to Filter, and then click Advanced Filter/Sort.
- Change the criteria from Like "*?*" to Like "*[?]*".
- On the Filter menu, click Apply Filter/Sort.
Note that only records that contain ? are returned.
STATUSMicrosoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.
Modification Type: | Major | Last Reviewed: | 11/5/2003 |
---|
Keywords: | kbbug kbnofix KB275066 |
---|
|