I'm designing my db for a online Scheduling web application. How do you
suggest I handle reoccuring events?
In my appointments table should I just add 1 record for EACH time the
appointment will appear (and link all "related" appts with a key field)? Or
should I just have 1 record for each appointment, whether it's reoccuring or
not.
I downloaded the RadScheduler app and noticed in their sample db they had a
"RecurrenceRule " and "RecurrencePare nt" column in their Appts table. But
didn't understnad the implementation. A sample RecurrenceRule data was:
DTSTART:2007033 0T063000Z
DTEND:20070330T 073000Z
RRULE:FREQ=DAIL Y;INTERVAL=1;UN TIL=20070406T21 0000Z;BYDAY=MO, TU,WE,TH,FR;
It looks like they use 1 record for each appt, whether its a one time or
recurring appt. But, I guess you would have to write to code figure out the
future "phantom" recurring appts????
Any advice would be appreciated.
suggest I handle reoccuring events?
In my appointments table should I just add 1 record for EACH time the
appointment will appear (and link all "related" appts with a key field)? Or
should I just have 1 record for each appointment, whether it's reoccuring or
not.
I downloaded the RadScheduler app and noticed in their sample db they had a
"RecurrenceRule " and "RecurrencePare nt" column in their Appts table. But
didn't understnad the implementation. A sample RecurrenceRule data was:
DTSTART:2007033 0T063000Z
DTEND:20070330T 073000Z
RRULE:FREQ=DAIL Y;INTERVAL=1;UN TIL=20070406T21 0000Z;BYDAY=MO, TU,WE,TH,FR;
It looks like they use 1 record for each appt, whether its a one time or
recurring appt. But, I guess you would have to write to code figure out the
future "phantom" recurring appts????
Any advice would be appreciated.
Comment