Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

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


View products that this article applies to.

This article was previously published under Q198456
Moderate: Requires basic macro, coding, and interoperability skills.

↑ Back to the top


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.

↑ Back to the top


Cause

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

↑ Back to the top


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.

↑ Back to the top


More information

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.

↑ Back to the top


References

For more information about Filter By Form feature, click Microsoft Access Help on the Help menu, type Filter By Form in the Office Assistant or the Answer Wizard, and then click Search to view the topics returned.

↑ Back to the top


Keywords: KB198456, kbprb

↑ Back to the top

Article Info
Article ID : 198456
Revision : 2
Created on : 6/24/2004
Published on : 6/24/2004
Exists online : False
Views : 353