How to specify multiple Custom Search Folder Criteria?

L

Laserray

I want a search folder that only includes items for the last 7 days, but NOT
items from user=baduser, and NOT items with subject text=badsubject. Criteria
I specified (advanced tab under custom search folder criteria):

Received in the last 7 days
Sent in the last 7 days
From doesn't contain baduser
Subject doesn't contain badsubject

The folder still includes items from baduser, and still includes items with
badsubject. I tried F5 key and changing selected folder multiple times.
Problem persists. I searched MS knowledge base and forums and found nothing
on this issue.

Am I doing it wrong? Is there a solution? Any ideas?

Thanks for input.

Ray
 
D

Diane Poremsky [MVP]

Is bad user the display name or email address? Try it with display name. It
works for me with display name.

If you can't get it working with the display name, try the query builder
instead. It gives you better control over AND and OR statements. See
http://www.outlook-tips.net/archives/2004/20040927.htm

--
Diane Poremsky [MVP - Outlook]



Outlook Tips by email:
(e-mail address removed)

EMO - a weekly newsletter about Outlook and Exchange:
(e-mail address removed)

You can access this newsgroup by visiting
http://www.microsoft.com/office/community/en-us/default.mspx or point your
newsreader to msnews.microsoft.com.
 
L

Laserray

Thanks a bunch Diane, the query builder did the trick. Actually, I have never
used filters in Outlook until now.

You have saved me lots of wasted time (I need to scan the search folder
every week and getting the filters to work will save me 5-10 minutes each
time).

As for the display name question, I did try it that way but it still didn't
work.
I guess the problem was that since the custom search criteria didn't have
the AND/OR option, it defaulted to whatever gave the most results (which
wasn't what I wanted). A good new feature candidate for Microsoft maybe?

Have a great day. Thx again,

Ray

Diane Poremsky said:
Is bad user the display name or email address? Try it with display name. It
works for me with display name.

If you can't get it working with the display name, try the query builder
instead. It gives you better control over AND and OR statements. See
http://www.outlook-tips.net/archives/2004/20040927.htm

--
Diane Poremsky [MVP - Outlook]



Outlook Tips by email:
(e-mail address removed)

EMO - a weekly newsletter about Outlook and Exchange:
(e-mail address removed)

You can access this newsgroup by visiting
http://www.microsoft.com/office/community/en-us/default.mspx or point your
newsreader to msnews.microsoft.com.


Laserray said:
I want a search folder that only includes items for the last 7 days, but
NOT
items from user=baduser, and NOT items with subject text=badsubject.
Criteria
I specified (advanced tab under custom search folder criteria):

Received in the last 7 days
Sent in the last 7 days
From doesn't contain baduser
Subject doesn't contain badsubject

The folder still includes items from baduser, and still includes items
with
badsubject. I tried F5 key and changing selected folder multiple times.
Problem persists. I searched MS knowledge base and forums and found
nothing
on this issue.

Am I doing it wrong? Is there a solution? Any ideas?

Thanks for input.

Ray
 
D

Diane Poremsky [MVP]

While an AND/OR option is often requested, they have QueryBuilder and SQL,
both of which can do proper AND OR statements, so I don't expect much to
change. It would be nice if querybuilder was exposed in the interface
though.

--
Diane Poremsky [MVP - Outlook]



Outlook Tips by email:
mailto:[email protected]

EMO - a weekly newsletter about Outlook and Exchange:
mailto:[email protected]

You can access this newsgroup by visiting
http://www.microsoft.com/office/community/en-us/default.mspx or point your
newsreader to msnews.microsoft.com.


Laserray said:
Thanks a bunch Diane, the query builder did the trick. Actually, I have
never
used filters in Outlook until now.

You have saved me lots of wasted time (I need to scan the search folder
every week and getting the filters to work will save me 5-10 minutes each
time).

As for the display name question, I did try it that way but it still
didn't
work.
I guess the problem was that since the custom search criteria didn't have
the AND/OR option, it defaulted to whatever gave the most results (which
wasn't what I wanted). A good new feature candidate for Microsoft maybe?

Have a great day. Thx again,

Ray

Diane Poremsky said:
Is bad user the display name or email address? Try it with display name.
It
works for me with display name.

If you can't get it working with the display name, try the query builder
instead. It gives you better control over AND and OR statements. See
http://www.outlook-tips.net/archives/2004/20040927.htm

--
Diane Poremsky [MVP - Outlook]



Outlook Tips by email:
(e-mail address removed)

EMO - a weekly newsletter about Outlook and Exchange:
(e-mail address removed)

You can access this newsgroup by visiting
http://www.microsoft.com/office/community/en-us/default.mspx or point
your
newsreader to msnews.microsoft.com.


Laserray said:
I want a search folder that only includes items for the last 7 days,
but
NOT
items from user=baduser, and NOT items with subject text=badsubject.
Criteria
I specified (advanced tab under custom search folder criteria):

Received in the last 7 days
Sent in the last 7 days
From doesn't contain baduser
Subject doesn't contain badsubject

The folder still includes items from baduser, and still includes items
with
badsubject. I tried F5 key and changing selected folder multiple times.
Problem persists. I searched MS knowledge base and forums and found
nothing
on this issue.

Am I doing it wrong? Is there a solution? Any ideas?

Thanks for input.

Ray
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top