Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Recurrent appointments (Read 3714 times)
gerardo
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 27
Joined: Jan 26th, 2007
Recurrent appointments
Jul 26th, 2007 at 11:30am
Print Post  
Hi,

I have recurrent appointments defined like:

MONTHLY:   1st friday of every month.
YEARLY:      2nd Saturday of January

Is there a way to handle these appointmets?

Any ideas?

Thanks in advance.
  
Back to top
 
IP Logged
 
Meppy
God Member
*****
Offline


MindFusion support

Posts: 1783
Joined: Jul 20th, 2005
Re: Recurrent appointments
Reply #1 - Jul 26th, 2007 at 12:02pm
Print Post  
Try the following recurrence patterns:

Code
Select All
Recurrence r = new Recurrence();
r.Pattern = RecurrencePattern.Monthly;
r.MonthlyRecurrence = MonthlyRecurrence.ByDayType;
r.Occurrence = Occurrence.First;
r.Day = DayOfWeekType.Friday;
r.Months = 1; 



Code
Select All
Recurrence r = new Recurrence();
r.Pattern = RecurrencePattern.Yearly;
r.YearlyRecurrence = YearlyRecurrence.ByDayType;
r.Occurrence = Occurrence.Second;
r.Day = DayOfWeekType.Saturday;
r.MonthOfYear = 1; 


Meppy
  
Back to top
 
IP Logged
 
gerardo
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 27
Joined: Jan 26th, 2007
Re: Recurrent appointments
Reply #2 - Jul 26th, 2007 at 3:42pm
Print Post  
Thank you.  Cheesy
It's working perfect !
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint