
Signature
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
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?
On Mar 26, 12:28 pm, "Ken Slovak - [MVP - Outlook]"
<kenslo...@mvps.org> wrote:
> Query what? What are you trying to do?
>
[quoted text clipped - 15 lines]
>
> - Show quoted text -
Ken Slovak - [MVP - Outlook] - 27 Mar 2008 22:07 GMT
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.

Signature
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
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?