OL97: Find Items Fails When User Field Matches Built-in Field

Last reviewed: January 19, 1998
Article ID: Q171462
The information in this article applies to:
  • Microsoft Outlook 97

SYMPTOMS

If you create a Messaging Application Programming Interface (MAPI) form that contains a field with the same name as one of the default fields in Outlook, the Find Items feature in Outlook may not find any items that meet your search criteria.

CAUSE

The Find Items feature in Outlook only looks at a field's name, instead of looking at the field's Set ID. Under normal circumstances, forms created in Outlook do not have this problem because Outlook will not let you add a user-defined field with the same name as an Outlook field.

MORE INFORMATION

By using an application other than Outlook, it is possible to create a MAPI form that contains a field with the same name as one of the default fields in Outlook. With the Find Items feature in Outlook, you are able to find items based on your MAPI form. If you try to search on a field with the same name as one of the default fields in Outlook, the search results will be empty.

Keywords          : GnlFileM
Version           : WINDOWS:97
Platform          : WINDOWS
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: January 19, 1998
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.