Creating Recurrence Event Exceptions |
Post Reply |
Author | |
Pmosh
Newbie Joined: 15 March 2012 Status: Offline Points: 6 |
Post Options
Thanks(0)
Posted: 21 August 2017 at 3:49pm |
I can't seem to figure out how to load custom recurrence exceptions into the calendar. The end result is that I get both the exception and the master event displayed. My code is something like this:
MasterEvent = ole_calendar.DataProvider.CreateEvent() ** Set master event properties ** RecurrencePattern = MasterEvent.CreateRecurrence() ** Set recurrence properties ** ole_calendar.DataProvider.AddEvent(MasterEvent) ExceptionEvent = ole_calendar.DataProvider.CreateEvent() ExceptionEvent.MakeAsRException() ** Set exception event properties ** RecurrencePattern.SetException(iOleEvent) MasterEvent.UpdateRecurrence(RecurrencePattern) ole_calendar.DataProvider.ChangeEvent(MasterEvent) Please help. Using version 15.0.2 Pmosh |
|
Pmosh
Newbie Joined: 15 March 2012 Status: Offline Points: 6 |
Post Options
Thanks(0)
|
Please note iOleEvent is actually ExceptionEvent. This is meant to be pseudo code, not actual code.
|
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |