A Recurrence Pattern query...

  • Thread starter Thread starter Andy K
  • Start date Start date
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:
 
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
 
Back
Top