Re: Query CurrentUser from Outlook View
- From: "Ken Slovak - [MVP - Outlook]" <kenslovak@xxxxxxxx>
- Date: Thu, 27 Mar 2008 17:07:27 -0400
I believe you'd have to hard-code the CurrentUser name for the DASL for the filter if you are using the Customize View or Define View dialogs unless you are using Outlook 2007.
In Outlook 2007 you can use the new View object model additions (View.Filter). Then you could get CurrentUser as a string value in code before you constructed the view filter using that value.
--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm
<fred@xxxxxxxxxxxxxxxxxxxx> wrote in message news:93eff726-669d-4228-bcb0-a384d87032b3@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Trying to Setup a View that displays only items that are assigned to
the CurrentUser. Using the Contacts field populated with the full
name of the user (from the GAL). This results in the contacts field
displaying the first and last name on any item assigned to them. We
need a view to filter only items assigned to this user. I have tried
using SQL in the view to select CurrentUser with no success. Is there
another syntax that will allow this in the query?
.
- References:
- Query CurrentUser from Outlook View
- From: fred
- Re: Query CurrentUser from Outlook View
- From: Ken Slovak - [MVP - Outlook]
- Re: Query CurrentUser from Outlook View
- From: fred
- Query CurrentUser from Outlook View
- Prev by Date: Re: Creating a DistList from a .txt file
- Next by Date: Re: Adding Contact with VBA
- Previous by thread: Re: Query CurrentUser from Outlook View
- Next by thread: Re: Creating a DistList from a .txt file
- Index(es):
Relevant Pages
|