<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="https://syndication.webwiz.net/rss_namespace/">
 <channel>
  <title>Codejock Developer Community : Mutilple Schedules</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Calendar : Mutilple Schedules]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Thu, 28 May 2026 05:30:45 +0000</pubDate>
  <lastBuildDate>Wed, 28 Mar 2012 09:17:24 +0000</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 12.04</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>forum.codejock.com/RSS_post_feed.asp?TID=19547</WebWizForums:feedURL>
  <image>
   <title><![CDATA[Codejock Developer Community]]></title>
   <url>http://forum.codejock.com/forum_images/codejock-logo.gif</url>
   <link>http://forum.codejock.com/</link>
  </image>
  <item>
   <title><![CDATA[Mutilple Schedules : I found a solution myself   ]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=19547&amp;PID=67885&amp;title=mutilple-schedules#67885</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=5589">mri0202</a><br /><strong>Subject:</strong> 19547<br /><strong>Posted:</strong> 28 March 2012 at 9:17am<br /><br />I found a solution myself]]>
   </description>
   <pubDate>Wed, 28 Mar 2012 09:17:24 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=19547&amp;PID=67885&amp;title=mutilple-schedules#67885</guid>
  </item> 
  <item>
   <title><![CDATA[Mutilple Schedules : Your issue was answered, did it...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=19547&amp;PID=67884&amp;title=mutilple-schedules#67884</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=369">SuperMario</a><br /><strong>Subject:</strong> 19547<br /><strong>Posted:</strong> 28 March 2012 at 9:15am<br /><br />Your issue was answered, did it work for you?]]>
   </description>
   <pubDate>Wed, 28 Mar 2012 09:15:12 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=19547&amp;PID=67884&amp;title=mutilple-schedules#67884</guid>
  </item> 
  <item>
   <title><![CDATA[Mutilple Schedules : Hi all,In December 2011 I wrote...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=19547&amp;PID=67734&amp;title=mutilple-schedules#67734</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=5589">mri0202</a><br /><strong>Subject:</strong> 19547<br /><strong>Posted:</strong> 05 March 2012 at 8:05am<br /><br />Hi all,<br><br>In December 2011 I wrote to support because of a problem with 'multiple schedules' (<table style="width: 646px; height: 20px;" border="0" cellpadding="0" cellspacing="0"><t><tr><td ="DetailsLabel" height="19" width="130"><br></td><td ="DetailsSpace"><br></td><td ="Details" width="100%"><br></td></tr></t></table>Issue # 27795. <br><br>Because I got no answer until yet, I hope someone in the forum can help me.<br><br>We have a custom database for saving calandar events. In our application it is possible, that a couple of people share one event. <br>I've modified the example for ''multiple ressources'' for Visual Basic. <br><br>- One schedule for every involved person<br>- I clone the event<br>- I change the schedule-Id of the cloned event.<br><br>The problem is, that lets say four people share one event, only the first and the last is shown up in the calendar. <br>What am I doing wrong.<br><br>Thanks in advance<br><br>Manfred Richter<br><br><br><br>Code snippet<br><br><pre>	' Remove all resources    CalendarControl.MultipleResources.RemoveAll    fAnzMKzNameTab = Split(sMKzNamen, Chr(254))    fAnzMKzNrTab = Split(sMKzNr, Chr(254))    fAnzMKzTab = Split(sMkz, Chr(254))    Dim strConnectionString As String    strConnectionString = "Provider=Custom"        Dim arResources As New CalendarResources    Dim pRes0 As New CalendarResource    Dim pRes1 As CalendarResource        pRes0.SetDataProvider2 strConnectionString, True          If pRes0.DataProvider Is Nothing Then        Debug.Assert False        Exit Sub    End If        If Not pRes0.DataProvider.Open Then        If Not pRes0.DataProvider.create Then            Debug.Assert False            Exit Sub        End If    End If        '// ** schedules    Dim pSchedules As CalendarSchedules    Set pSchedules = pRes0.DataProvider.Schedules        If pSchedules Is Nothing Then        Exit Sub    End If        If pSchedules.Count &lt; 1 Then        For li = 0 To UBound(fAnzMKzNrTab)            pSchedules.AddNewSchedule fAnzMKzTab(li)        Next li        pRes0.DataProvider.Save    End If        '// ** resources        pRes0.Name = pSchedules.Item(0).Name    pRes0.ScheduleIDs.Add pSchedules.Item(0).id    arResources.Add pRes0    For li = 1 To UBound(fAnzMKzNrTab)        Set pRes1 = New CalendarResource        pRes1.SetDataProvider pRes0.DataProvider, False        pRes1.Name = fAnzMKzTab(li)        pRes1.ScheduleIDs.Add pSchedules.Item(li).id        arResources.Add pRes1        Set pRes1 = Nothing    Next li                      CalendarControl.SetMultipleResources arResources'-------------------------------------------------------------------------------------'* This routine is used to clone Events and point to the right schedule'-------------------------------------------------------------------------------------Private Sub fsBKZPruef(ByRef sEvents As XtremeCalendarControl.CalendarEvents, ByRef sEvent As CalendarEvent)    On Error Resume Next    Dim lBkzNrTab() As String    Dim li As Integer    Dim lID As Integer    Dim lEvent As CalendarEvent    Dim lInhalt As String        lInhalt = sEvent.CustomProperties("BKZ_ZUWEISUNG")    If lInhalt = "" Then        Exit Sub    End If    lBkzNrTab = Split(lInhalt, vbCrLf)    For li% = 0 To UBound(lBkzNrTab) - 1        lID = fForm.mtGetMkzId(Val(lBkzNrTab(li)))        If lID &gt; 0 Then            Set lEvent = sEvent.CloneEvent            lEvent.ScheduleID = lID            sEvents.Add lEvent            Set lEvent = Nothing        End If    Next liEn</pre><br>]]>
   </description>
   <pubDate>Mon, 05 Mar 2012 08:05:35 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=19547&amp;PID=67734&amp;title=mutilple-schedules#67734</guid>
  </item> 
 </channel>
</rss>