<?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 : Multiple Schedule</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Calendar : Multiple Schedule]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Fri, 29 May 2026 19:54:50 +0000</pubDate>
  <lastBuildDate>Wed, 28 Jan 2009 10:15:56 +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=6322</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[Multiple Schedule :   HelloI am new to Codejock...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=6322&amp;PID=44984&amp;title=multiple-schedule#44984</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4909">RogerHitz</a><br /><strong>Subject:</strong> 6322<br /><strong>Posted:</strong> 28 January 2009 at 10:15am<br /><br />Hello<br><br>I am new to Codejock Calendar Pro<br><br>I have a issue with Multiple Schedule. <br><br>I don't want to set connection string for the calendar dataprovider.Instead, I will get&nbsp;a recordset from sql server databbase,then create events and populate calendar. <br><br>I am able to get it work insingle resource calendar. But I am having trouble in multi-resource mode<br><br>How do I skip connection string and create a Memory type ?<br>Can you send me an VB example ?<br><br>THanks<br><br>ROGER<br>]]>
   </description>
   <pubDate>Wed, 28 Jan 2009 10:15:56 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=6322&amp;PID=44984&amp;title=multiple-schedule#44984</guid>
  </item> 
  <item>
   <title><![CDATA[Multiple Schedule : In this case you can simply skip...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=6322&amp;PID=20164&amp;title=multiple-schedule#20164</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=862">sserge</a><br /><strong>Subject:</strong> 6322<br /><strong>Posted:</strong> 07 February 2007 at 4:57pm<br /><br />In this case you can simply skip setting connection string, because the first data provider is created of Memory type by default.<br><br>--<br>WBR,<br>Serge<br>]]>
   </description>
   <pubDate>Wed, 07 Feb 2007 16:57:58 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=6322&amp;PID=20164&amp;title=multiple-schedule#20164</guid>
  </item> 
  <item>
   <title><![CDATA[Multiple Schedule : Thanks for the response.   We...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=6322&amp;PID=20161&amp;title=multiple-schedule#20161</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2730">haitaowu</a><br /><strong>Subject:</strong> 6322<br /><strong>Posted:</strong> 07 February 2007 at 3:44pm<br /><br />Thanks for the response. <DIV>&nbsp;</DIV><DIV>We prefer not to set connection string for the calendar dataprovider. Instead, we are going to get&nbsp;a recordset from sql server databbase, then create events and populate calendar. We are able to get it work in single resource calendar.&nbsp;We are having trouble in multi-resource mode. </DIV><DIV>&nbsp;</DIV><DIV>Thanks for any advice.</DIV>]]>
   </description>
   <pubDate>Wed, 07 Feb 2007 15:44:02 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=6322&amp;PID=20161&amp;title=multiple-schedule#20161</guid>
  </item> 
  <item>
   <title><![CDATA[Multiple Schedule : Hi,The following is not a good...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=6322&amp;PID=20158&amp;title=multiple-schedule#20158</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=862">sserge</a><br /><strong>Subject:</strong> 6322<br /><strong>Posted:</strong> 07 February 2007 at 3:14pm<br /><br />Hi,<br><br>The following is not a good way to operate:<br><table width="99%"><tr><td><pre class="BBcode"><br>pRes0.SetDataProvider CalendarControl.DataProvider, False<br>pRes1.SetDataProvider CalendarControl.DataProvider, False<br></pre></td></tr></table><br><br>The reason is that CalendarControl.DataProvider is equal to CalendarControl.Resources(0).DataProvider in a multi-resources mode.<br><br>Instead, it would be better to write:<br><table width="99%"><tr><td><pre class="BBcode"><br>pRes0.SetDataProvider2 "connection string", True&nbsp; <br>pRes1.SetDataProvider pRes0.DataProvider, False<br></pre></td></tr></table><br><br>--<br>WBR,<br>Serge<br>]]>
   </description>
   <pubDate>Wed, 07 Feb 2007 15:14:54 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=6322&amp;PID=20158&amp;title=multiple-schedule#20158</guid>
  </item> 
  <item>
   <title><![CDATA[Multiple Schedule : Hi,   I have a issue with Multiple...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=6322&amp;PID=20090&amp;title=multiple-schedule#20090</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2730">haitaowu</a><br /><strong>Subject:</strong> 6322<br /><strong>Posted:</strong> 05 February 2007 at 12:04pm<br /><br />Hi,<DIV>&nbsp;</DIV><DIV>&nbsp; I have a issue with Multiple Schedule. I am using Access 2003. I got multiple schedule shown in calendar, but no events shown. The code is shown below:</DIV><DIV>&nbsp;</DIV><DIV>Private Sub Form_Load()<BR>&nbsp;&nbsp;&nbsp; Dim arResources As New CalendarResources<BR>&nbsp;&nbsp;&nbsp; Dim pRes0 As New CalendarResource<BR>&nbsp;&nbsp;&nbsp; Dim pRes1 As New CalendarResource<BR>&nbsp;&nbsp;&nbsp; Dim NewEvent As CalendarEvent</DIV><DIV>&nbsp;&nbsp;&nbsp; pRes0.SetDataProvider CalendarControl.DataProvider, False<BR>&nbsp;&nbsp;&nbsp; pRes1.SetDataProvider CalendarControl.DataProvider, False<BR>&nbsp; <BR>&nbsp;&nbsp;&nbsp; Dim pSchedules As CalendarSchedules<BR>&nbsp;&nbsp;&nbsp; Set pSchedules = pRes0.DataProvider.Schedules</DIV><DIV>&nbsp;&nbsp;&nbsp; If pSchedules Is Nothing Then<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Exit Sub<BR>&nbsp;&nbsp;&nbsp; End If<BR>&nbsp;&nbsp;&nbsp; If pSchedules.Count &lt; 1 Then<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; pSchedules.AddNewSchedule "John"<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; pSchedules.AddNewSchedule "Terry"<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; pRes0.DataProvider.Save<BR>&nbsp;&nbsp;&nbsp; End If<BR>&nbsp;&nbsp;&nbsp; <BR>&nbsp;&nbsp;&nbsp; pRes0.Name = pSchedules.Item(0).Name<BR>&nbsp;&nbsp;&nbsp; pRes0.ScheduleIDs.Add pSchedules.Item(0).Id</DIV><DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <BR>&nbsp;&nbsp;&nbsp; pRes1.Name = pSchedules.Item(1).Name<BR>&nbsp;&nbsp;&nbsp; pRes1.ScheduleIDs.Add pSchedules.Item(1).Id<BR>&nbsp;&nbsp;&nbsp; <BR>&nbsp;&nbsp;&nbsp; Set NewEvent = pRes0.DataProvider.CreateEvent<BR>&nbsp;&nbsp;&nbsp; NewEvent.Subject = "test"<BR>&nbsp;&nbsp;&nbsp; NewEvent.Location = "test"<BR>&nbsp;&nbsp;&nbsp; NewEvent.StartTime = Now<BR>&nbsp;&nbsp;&nbsp; NewEvent.ScheduleID = pSchedules.Item(0).Id<BR>&nbsp;&nbsp;&nbsp; pRes0.DataProvider.AddEvent NewEvent<BR>&nbsp;&nbsp;&nbsp; pRes0.DataProvider.Save<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <BR>&nbsp;&nbsp;&nbsp; arResources.Add pRes0<BR>&nbsp;&nbsp;&nbsp; arResources.Add pRes1<BR>&nbsp;&nbsp;&nbsp; CalendarControl.SetMultipleResources arResources<BR>&nbsp;&nbsp;&nbsp; CalendarControl.Populate<BR>End Sub</DIV><DIV>&nbsp;</DIV><DIV>Thanks for any help!</DIV>]]>
   </description>
   <pubDate>Mon, 05 Feb 2007 12:04:05 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=6322&amp;PID=20090&amp;title=multiple-schedule#20090</guid>
  </item> 
 </channel>
</rss>