ACC97: Filtering for Words That Start with IS Requires Quotes

Last reviewed: October 1, 1997
Article ID: Q174539
The information in this article applies to:
  • Microsoft Access 97

SYMPTOMS

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

In Microsoft Access 97, if you use the Filter By Form feature, and you are searching for words that start with "is" (without the quotation marks), you must use quotation marks around the string. If you type "is*" (without the quotation marks), 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" (without the quotation marks), you are referring to Is Null or Is Not Null.

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.

MORE INFORMATION

Steps to Reproduce Behavior

  1. In the sample database Northwind.mdb, open the Orders table.

  2. Click in the Customer column.

  3. Using the right mouse button (right-click), click to bring up the shortcut menu, and then click in the Filter For box.

  4. Type "is*" (without the quotation marks), and then press ENTER. Note that you receive the message mentioned in the "Symptoms" section.

REFERENCES

For more information about using the Filter By Form feature, search the Help Index for "Filter by Form," or ask the Microsoft Access 97 Office Assistant.


Additional query words: prb
Keywords : FmsOthr
Version : WINDOWS:97
Platform : WINDOWS
Hardware : x86
Issue type : kbprb
Solution Type : Info_Provided


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: October 1, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.