PC Review


Reply
Thread Tools Rate Thread

Custom Filtered View

 
 
ctc
Guest
Posts: n/a
 
      17th Dec 2009
I am trying to create a view of outlook contacts filtered to contain the
"Client" category, but not the "Xmas Residential" and not the "Xmas Business"
categories.

I have entered the following code into the SQL tab of the view's filter
utilizing the Advanced tab and defining the criteria as either "contains" or
"doesn't contain" and then on the SQL tab checking the "Edit these criteria
directly" box and changing "OR" to "AND" between each of the criteria:

("urn:schemas-microsoft-comfficeffice#Keywords" LIKE '%Client%' AND
"urn:schemas-microsoft-comfficeffice#Keywords" <> 'Xmas Residential' AND
"urn:schemas-microsoft-comfficeffice#Keywords" <> 'Xmas Business')

The resulting view shows all contacts containing any one or more of the
categories which is not what I wanted.

Please advise.
 
Reply With Quote
 
 
 
 
Michael Bauer [MVP - Outlook]
Guest
Posts: n/a
 
      17th Dec 2009


That's how a filter on categories work, it must show a contact if it has at
least one of the categories assigned. You can turn off the group by
categories view in order to see any listed contact only once.

--
Best regards
Michael Bauer - MVP Outlook
Manage and share your categories:
<http://www.vboffice.net/product.html?pub=6&lang=en>


Am Thu, 17 Dec 2009 07:38:02 -0800 schrieb ctc:

> I am trying to create a view of outlook contacts filtered to contain the
> "Client" category, but not the "Xmas Residential" and not the "Xmas

Business"
> categories.
>
> I have entered the following code into the SQL tab of the view's filter
> utilizing the Advanced tab and defining the criteria as either "contains"

or
> "doesn't contain" and then on the SQL tab checking the "Edit these

criteria
> directly" box and changing "OR" to "AND" between each of the criteria:
>
> ("urn:schemas-microsoft-comfficeffice#Keywords" LIKE '%Client%' AND
> "urn:schemas-microsoft-comfficeffice#Keywords" <> 'Xmas Residential'

AND
> "urn:schemas-microsoft-comfficeffice#Keywords" <> 'Xmas Business')
>
> The resulting view shows all contacts containing any one or more of the
> categories which is not what I wanted.
>
> Please advise.

 
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
Switching custom view when filtered tsbarr Microsoft Excel Misc 1 28th Mar 2008 08:33 PM
Filtered view on second DataGridView =?Utf-8?B?U3RldmUgVGVlcGxlcw==?= Microsoft C# .NET 3 30th Mar 2006 02:45 AM
XML-filtered view =?Utf-8?B?Q0JYNzUw?= Microsoft Outlook VBA Programming 0 6th Apr 2005 04:31 PM
Custom Views For Filtered Criteria TONYC Microsoft Excel Misc 3 19th Aug 2004 11:34 AM
SQL View filtered by a value on a form Stuart Microsoft Access ADP SQL Server 6 4th Nov 2003 07:49 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 09:16 PM.