![]() |
If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
![]()
Hi,
I have a strange problem. I define a new View like: void CreateViews() { string FilterActiveBOs = GetResourceString("ViewActiveOpportunities"); Outlook.Views BOViews = BO_Folder.Views; if (BOViews[GetResourceString("ViewNameActiveBO")] == null) { Outlook.View activeView = BOViews.Add(GetResourceString("ViewNameActiveBO"), Microsoft.Office.Interop.Outlook.OlViewType.olTabl eView, Microsoft.Office.Interop.Outlook.OlViewSaveOption. olViewSaveOptionThisFolderEveryone); activeView.XML = FilterActiveBOs; activeView.Save(); activeView.Apply(); } As Filter I defined: "http://schemas.microsoft.com/mapi/string/{00020329-0000-0000-C000-000000000046}/boStatus" 'closed' But entries that contain "closed" are still displayed No The strange part. If I built a View via the Outlook GUI that has excatly the same filer expression it works. Any idea? Best Tom |
Ads |
#2
|
|||
|
|||
![]()
Hi,
don't know why the Outlook GUI Builder seems to display a wrong DASL expression. Ich I use this one: NOT "http://schemas.microsoft.com/mapi/string/{00020329-0000-0000-C000-000000000046}/boStatus" LIKE '%closed%' Everything works fine. Best Tom "escamoteur" schrieb im Newsbeitrag ... Hi, I have a strange problem. I define a new View like: void CreateViews() { string FilterActiveBOs = GetResourceString("ViewActiveOpportunities"); Outlook.Views BOViews = BO_Folder.Views; if (BOViews[GetResourceString("ViewNameActiveBO")] == null) { Outlook.View activeView = BOViews.Add(GetResourceString("ViewNameActiveBO"), Microsoft.Office.Interop.Outlook.OlViewType.olTabl eView, Microsoft.Office.Interop.Outlook.OlViewSaveOption. olViewSaveOptionThisFolderEveryone); activeView.XML = FilterActiveBOs; activeView.Save(); activeView.Apply(); } As Filter I defined: "http://schemas.microsoft.com/mapi/string/{00020329-0000-0000-C000-000000000046}/boStatus" 'closed' But entries that contain "closed" are still displayed No The strange part. If I built a View via the Outlook GUI that has excatly the same filer expression it works. Any idea? Best Tom |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
How-to remove DASL filter from taskpad | Ole Lauridsen | Outlook - Calandaring | 0 | June 30th 08 11:43 AM |
birthday DASL-filter | rainer.100 | Outlook and VBA | 1 | December 20th 07 08:57 PM |
Junk Mail Filter does not work | Jim Kearns | Outlook - General Queries | 6 | July 30th 07 04:31 PM |
Please fix a new bug in the user-defined DASL filter in Outlook 20 | ericmkcc | Outlook - Using Contacts | 1 | July 9th 07 04:37 PM |
DASL Filter on custom property | Jeff Graves | Add-ins for Outlook | 0 | April 8th 07 04:58 AM |