The information in this article applies to:
SYMPTOMS
In Microsoft Outlook 97, when you use the Advanced Find to look for
Contacts and specify different values for the name field using the doesn't
contain condition, the search results include those values.
RESOLUTION
To get the desired results, use one of the following methods.
Method 1
Set the search criteria using the following example:
- On the Tools menu, click Find Items and click the Advanced tab.
- Click Field, point to All Mail fields, and click From.
- Under Condition, click doesn't contain, from the list.
- In the Value box type John (space) Jane, then click Add to List.
- Click Find Now.
With this search criteria, Outlook assumes an "AND" function between the
names, finding contacts that don't contain John AND that don't contain
Jane.
Method 2
Assign a category to each Contact, then use the category name in the
Doesn't Contain field. To assign a category follow these steps:
- In Outlook, click the Contacts icon in the Outlook Bar.
- On the Contacts menu, click New Contact.
- Type the pertinent information for the person, then click Categories
in the lower left corner of the Contact form.
- Click to select the desired Category name. To create a new Category,
in "Item(s) belong to these categories," type your new Category name,
click Add to list, click OK, then click Save and
Close.
- On the Tools menu, click Find Items, and then click the Advanced tab.
- Click Field, point to Frequently-used fields, and click
Categories.
- Under Condition, click doesn't contain, from the list.
- In the Value box, type the Category name, then click Add to List.
- Click Find Now.
MORE INFORMATION
Steps to Reproduce Problem
- In Outlook, click the Contacts icon on the Outlook Bar.
- On the Contacts menu, click New Contact.
- In Full Name, type John Smith, then click Save and Close.
- On the Contacts menu, click New Contact.
- In Full Name, type Jane Smith, then click Save and Close.
- On the Tools menu, click Find Items and click the Advanced tab.
- Click Field, point to Name fields, and click First Name.
- Under Condition, click doesn't contain, from the list.
- In the Value box type John, then click Add to List.
- Click Field, point to Name fields, and click First Name.
- Under Condition, click doesn't contain, from the list.
- In the Value box type Jane, then click Add to List.
- Click Find Now.
The Outlook search engine evaluates the two search criteria as an "OR"
function. All Contacts will contain something other than Jane OR John as
the first name, therefore they all appear in the search results.
|