Jump to content

Welcome to MSFN Forum
Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more. This message will be removed once you have signed in.
Login to Account Create an Account



Photo

Outlook 2007 Query Builder (Search) AND, OR, NOT

- - - - -

  • Please log in to reply
No replies to this topic

#1
_alphaBeta_

_alphaBeta_

    Newbie

  • Member
  • 23 posts
  • Joined 01-January 07

I'm trying to use Outlook 2007's query builder to filter out multiple "From" addresses. I have a computer science understanding of Boolean logic, and I'm fine with AND, OR etc., but I'm having issues with NOT giving me correct results.

 

A query like this is fine for displaying all emails that have <fromAddress1> or <fromAddress2> in the "From" field.

from:(fromAddress1 OR fromAddress2)

What I really want is all emails that aren't from <fromAddress1> nor <fromAddress2>. No luck from the following, which yield very strange results including emails that are clearly from one of the addresses. A single NOT works fine, but I can't seem to filter out more than one.

NOT from:(fromAddress1 OR fromAddress2)
from:(NOT fromAddress1 NOT fromAddress2)

Is there anyway to do this? The latter above seems to work fine for subjects etc, and I'm assuming it's applying an AND there by default from what I've read of the Outlook Query Builder.




How to remove advertisement from MSFN



0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users