Microsoft KB Archive/198456

= ACC2000: Filtering for Words That Start with IS Requires Quotation Marks =

Article ID: 198456

Article Last Modified on 6/24/2004

-

APPLIES TO


 * Microsoft Access 2000 Standard Edition

-



This article was previously published under Q198456



Moderate: Requires basic macro, coding, and interoperability skills.



SYMPTOMS
If you use the Filter By Form feature, and you are searching for words that start with is, you must use quotation marks around the string. If you type is*, the filter returns the following message:

You can use the Is operator only in an expression with Null or Not Null.



CAUSE
Microsoft Access assumes that when you use is, you are referring to Is Null or Is Not Null expression.



RESOLUTION
To search for words that start with "is," you must surround the entire string with quotation marks, including any wild card characters that you are using. For example, you would type "is*" (with the quotation marks) in the Filter For box.



Steps to Reproduce Behavior

 * 1) In the sample database Northwind.mdb, open the Orders table.
 * 2) Click in the Customer column.
 * 3) On the Records menu, click Filter, and then click Filter By Form.
 * 4) Click in the customer column and type is*.
 * 5) Click the Apply Filter tool on the command bar that appears.

Note that you receive the message mentioned in the "Symptoms" section.

