Outlook Calendar Filter

G

Guest

It was determined that Outlook 2000 can not programmically use a filter to be
applied to a calendar. Outlook 2000 can only set a view. If a calendar
contains say 300 staff, the only way to filter the calendar with the staff in
question was to create a view and then have the user enter the number of the
staff they were looking for when the calendar opens. Using VBA, I could use
the staff number entered to set a view. Has this filter/view problem been
address in Outlook 2003? Thanks for your help.
 
S

Sue Mosher [MVP-Outlook]

The solution in Outlook 2000 is to use a folder home page with the Outlook View Control and set the OVC's Restriction property, which uses the same syntax as the Find and Restrict methods.

In OUtlook 2002 SP2 and later, you can build a <filter> element into the XML property of a custom view -- but the FHP/OVC solution may still be simpler.
 
D

devlei

Could you help a little further with the FHP/OVC solution? Are there
any links to articles or samples that explain this FHP/OVC solution?

Where do you place the OVC - on a web page or on a UserForm?

Also, when I try set the properties of the OVC (design time), I get a
system or external component error.

The solution in Outlook 2000 is to use a folder home page with the
Outlook View Control and set the OVC's Restriction property, which uses
the same syntax as the Find and Restrict methods.
In OUtlook 2002 SP2 and later, you can build a <filter> element into
the XML property of a custom view -- but the FHP/OVC solution may still
be simpler.
 
S

Sue Mosher [MVP-Outlook]

As the name implies, a folder home page is a web page set through an Outlook folder's WebViewURL and WebViewOn properties to display instead of the user item list when the user navigates to that folder. See http://www.outlookcode.com/d/ovc.htm for links to samples, etc.

--
Sue Mosher, Outlook MVP
Author of
Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top