A Recurrence Pattern query...

A

Andy K

Can anyone advise me the most efficient way to find all instances of a
recurring Appointment Item over a particular period? Eg I want to find
all instances of Item with EntryID = 123 over period 01/11/2003 to
30/11/2003. It seems I could plug each individual date which occurs
over the period into the GetOccurrence method on the Recurrence Pattern
object - but is there a more efficient way of doing this?

thanks for any advice...:confused:
 
S

Sue Mosher [MVP]

This (pseudocode) might be another approach:

Copy EntryID string to built-in BillingInformation property
Sort on Start
Set IncludeRecurrences to True
Perform a Restrict search on the desired date range [1] and the BillingInformation value

[1] See http://www.slipstick.com/dev/finddate.htm
--
Sue Mosher, Outlook MVP
Outlook and Exchange solutions at http://www.slipstick.com
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