Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Recurrence Exceptions (Read 3193 times)
rfeuer
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 12
Joined: Jan 16th, 2006
Recurrence Exceptions
Apr 5th, 2006 at 11:12pm
Print Post  
Hi,

I am storing all of my appointment recurrence and exception data into a sql server database. Is there a way I can manually create exceptions for my recurrences?

Thanks

Rick
  
Back to top
 
IP Logged
 
Meppy
God Member
*****
Offline


MindFusion support

Posts: 1783
Joined: Jul 20th, 2005
Re: Recurrence Exceptions
Reply #1 - Apr 6th, 2006 at 6:14am
Print Post  
Hi,

Exceptions can be created from code using the Recurrence.MarkException(Item, bool) method. You must provide a reference to the item occurrence, which will be marked as an exception. In order to obtain a single instance of a recurring item, call Recurrence.GenerateItems method. Currently there is no method that lets you obtain the occurrence of an item given an OccurrenceIndex.

Meppy
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint