There is no easy way.
You have to get and analyze the RecurrencePattern. Start at the initial date and apply the recurrence formula to that to get the next instance. If that fails or returns a null object you then have to check the Exceptions collection of the RecurrencePattern to see if the instance for that date has become an exception by being changed or deleted.
After you get the date for the following instance, you retrieve it using the GetOccurrence() method.
-- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003 Reminder Manager, Extended Reminders, Attachment Options http://www.slovaktech.com/products.htm
"Rick H" <rickh_1960[ at ]hotmail.com> wrote in message news:1172162894.803630.248160[ at ]s48g2000cws.googlegroups.com...
[Quoted Text] > On Feb 22, 10:39 am, "Rick H" <rickh_1...[ at ]hotmail.com> wrote: >> Can you use the Find command with EntryID? >> Criteria = "([EntryID] = """ + ls_entry_id + """)" >> This is what I'm using but getting error "The property EntryID in the >> condition is not invalid" >> >> I'm trying to get all dates in a new recurring entry. I'm using this >> to loop through the new item and get all the recurring date for the >> new recurring item >> >> Thanks, Rick > > Never mind on the EntryId I found where it is not valid for the Find > command. Now a new question. > When the user enters a new recurring item what is the easiet way to > get all dates with in this recurring item. > I get the recurrence pattern, but I don't see any easy way of getting > the recurring dates with this info. > > Thanks, Rick >
|