PC Review


Reply
Thread Tools Rate Thread

How to create an "OR" condition instead of an "AND" condition

 
 
Robert Judge
Guest
Posts: n/a
 
      14th May 2010
In Outlook 2007, I would like to create a filter using an OR condition
instead of an AND condition. For example, I know how to create a filter that
will show me all of my contacts who live in "Boston" AND have the last name
"Smith."

However, I want to create a filter that will show me the contacts that live
in "Boston" OR have the last name of "Smith."

How can I accomplish this? I will appreciate advice.
 
Reply With Quote
 
 
 
 
Bob I
Guest
Posts: n/a
 
      14th May 2010
Two searches, one for each condition.

Robert Judge wrote:

> In Outlook 2007, I would like to create a filter using an OR condition
> instead of an AND condition. For example, I know how to create a filter that
> will show me all of my contacts who live in "Boston" AND have the last name
> "Smith."
>
> However, I want to create a filter that will show me the contacts that live
> in "Boston" OR have the last name of "Smith."
>
> How can I accomplish this? I will appreciate advice.


 
Reply With Quote
 
Robert Judge
Guest
Posts: n/a
 
      14th May 2010
I don't think this is what I am looking for. In Contacts, I want to choose
View/Current View/Customize Current View/Filter/Advanced/Define More
Criteria:
Then I want to create two filters. One filter would filter in only people
who live in Boston and the second filter would filter in only people with the
last name of Smith. When I apply that view, I would see people who live in
Boston OR have the last name of Smith.

Can I do this? If not, and I must do "two searches" as you suggest, how do
I create those two searches to get the results above?

"Bob I" wrote:

> Two searches, one for each condition.
>
> Robert Judge wrote:
>
> > In Outlook 2007, I would like to create a filter using an OR condition
> > instead of an AND condition. For example, I know how to create a filter that
> > will show me all of my contacts who live in "Boston" AND have the last name
> > "Smith."
> >
> > However, I want to create a filter that will show me the contacts that live
> > in "Boston" OR have the last name of "Smith."
> >
> > How can I accomplish this? I will appreciate advice.

>
> .
>

 
Reply With Quote
 
Sue Mosher [MVP]
Guest
Posts: n/a
 
      17th May 2010
You'll need to activate the hidden Query Builder feature; see
http://www.outlook-tips.net/archives/2004/20040927.htm.
--
Sue Mosher, Outlook MVP
Author of Microsoft Outlook 2007 Programming:
Jumpstart for Power Users and Administrators
http://www.outlookcode.com/article.aspx?id=54



"Robert Judge" wrote:

> I don't think this is what I am looking for. In Contacts, I want to choose
> View/Current View/Customize Current View/Filter/Advanced/Define More
> Criteria:
> Then I want to create two filters. One filter would filter in only people
> who live in Boston and the second filter would filter in only people with the
> last name of Smith. When I apply that view, I would see people who live in
> Boston OR have the last name of Smith.
>
> Can I do this? If not, and I must do "two searches" as you suggest, how do
> I create those two searches to get the results above?
>
> "Bob I" wrote:
>
> > Two searches, one for each condition.
> >
> > Robert Judge wrote:
> >
> > > In Outlook 2007, I would like to create a filter using an OR condition
> > > instead of an AND condition. For example, I know how to create a filter that
> > > will show me all of my contacts who live in "Boston" AND have the last name
> > > "Smith."
> > >
> > > However, I want to create a filter that will show me the contacts that live
> > > in "Boston" OR have the last name of "Smith."
> > >
> > > How can I accomplish this? I will appreciate advice.

> >
> > .
> >

 
Reply With Quote
 
Bob I
Guest
Posts: n/a
 
      17th May 2010
OH, in that case, plug in the 2 criteria on the Advanced tab and then
click SQL tab, check the box for "Edit these criteria directly" and
change the "AND" to "OR".

Robert Judge wrote:

> I don't think this is what I am looking for. In Contacts, I want to choose
> View/Current View/Customize Current View/Filter/Advanced/Define More
> Criteria:
> Then I want to create two filters. One filter would filter in only people
> who live in Boston and the second filter would filter in only people with the
> last name of Smith. When I apply that view, I would see people who live in
> Boston OR have the last name of Smith.
>
> Can I do this? If not, and I must do "two searches" as you suggest, how do
> I create those two searches to get the results above?
>
> "Bob I" wrote:
>
>
>>Two searches, one for each condition.
>>
>>Robert Judge wrote:
>>
>>
>>>In Outlook 2007, I would like to create a filter using an OR condition
>>>instead of an AND condition. For example, I know how to create a filter that
>>>will show me all of my contacts who live in "Boston" AND have the last name
>>>"Smith."
>>>
>>>However, I want to create a filter that will show me the contacts that live
>>>in "Boston" OR have the last name of "Smith."
>>>
>>>How can I accomplish this? I will appreciate advice.

>>
>>.
>>


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Conditional formatting: How to set condition "formula" with is "date"formatted AA Arens Microsoft Excel Discussion 10 31st Jan 2008 01:57 AM
Outlook 2003 rules: Can one specify "AND" vice "OR" condition =?Utf-8?B?Wm9yYW4gZnJvbSBCLWluLXRoZS11aw==?= Microsoft Outlook Discussion 0 26th Oct 2006 12:27 PM
"Rule based design" or "event-condition-action" pattern? feng Microsoft VB .NET 1 28th Feb 2005 09:18 AM
Outlook 2002 SP3 -> Tasks -> Custom Filter -> Advanced - ignores condition/value "between"/"last year and next friday" pluto@jupiter.info Microsoft Outlook 1 27th Jan 2005 05:11 PM
Customize Current View > Filter > Advanced > Feild="Location", Condition="is not empty" =?Utf-8?B?SnVzdGlu?= Microsoft Outlook Calendar 5 24th Mar 2004 03:08 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:38 AM.