This is a migrated thread and some comments may be shown as answers.

[Solved] Setting one specific date/time as default appointment

1 Answer 91 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
.
Top achievements
Rank 1
. asked on 11 May 2009, 06:17 PM
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.

1 Answer, 1 is accepted

Sort by
0
Peter
Telerik team
answered on 12 May 2009, 09:24 AM

Hi,

I am not quite following what you need to achieve. Can you be more specific?

All the best,
Peter
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
Scheduler
Asked by
.
Top achievements
Rank 1
Answers by
Peter
Telerik team
Share this question
or