Hello, in trying to have a sql table on the backend (named like 'tblAppointmentDefaults') that holds predefined appointments as the defaults for newly created appointments on the calendar (in automating this instead of the front end user having to manually enter in through the calendar)...say we had as an example an entry in this default talbe for an appointment that will always be created on the calendar to occur on June 1, 2009 from 8am up until before noon of that one day with no recurrences would the string need to be changed like from:
DTSTART:20090601T080000Z
DTEND:20090601T115959Z
RRULE:FREQ=WEEKLY;UNTIL=99991231T235959Z;INTERVAL=1;BYDAY=MO
to the following?:
DTSTART:20090601T080000Z
DTEND:20090601T115959Z
...in basically removing the entire text in the 3rd line that starts with 'RRULE:'?
And also since this 'tblAppointmentDefaults' can have other entries where they do have recurrences would the syntax in c# to check this be something like:
if IsNull(Temp_Default_Recurrence_Rule.HasOccurrences)
// then use and insert into main appointment table...
...
else
// do the recurrence string parsing and manipulations before inserting into main table...
...
Please excuse if I'm a bit off on things as I'm novice to c# and radscheduler. Thanks in advance.
DTSTART:20090601T080000Z
DTEND:20090601T115959Z
RRULE:FREQ=WEEKLY;UNTIL=99991231T235959Z;INTERVAL=1;BYDAY=MO
to the following?:
DTSTART:20090601T080000Z
DTEND:20090601T115959Z
...in basically removing the entire text in the 3rd line that starts with 'RRULE:'?
And also since this 'tblAppointmentDefaults' can have other entries where they do have recurrences would the syntax in c# to check this be something like:
if IsNull(Temp_Default_Recurrence_Rule.HasOccurrences)
// then use and insert into main appointment table...
...
else
// do the recurrence string parsing and manipulations before inserting into main table...
...
Please excuse if I'm a bit off on things as I'm novice to c# and radscheduler. Thanks in advance.