<?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 : Only Loading Last Event</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Calendar : Only Loading Last Event]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Thu, 14 May 2026 06:48:19 +0000</pubDate>
  <lastBuildDate>Thu, 13 Jan 2011 15:26:26 +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=17778</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[Only Loading Last Event : I figured this out so nevermind ...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=17778&amp;PID=62191&amp;title=only-loading-last-event#62191</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6577">JAdauto</a><br /><strong>Subject:</strong> 17778<br /><strong>Posted:</strong> 13 January 2011 at 3:26pm<br /><br />I figured this out so nevermind&nbsp;<DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Thu, 13 Jan 2011 15:26:26 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=17778&amp;PID=62191&amp;title=only-loading-last-event#62191</guid>
  </item> 
  <item>
   <title><![CDATA[Only Loading Last Event : I am attempting to evaluate this...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=17778&amp;PID=62181&amp;title=only-loading-last-event#62181</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6577">JAdauto</a><br /><strong>Subject:</strong> 17778<br /><strong>Posted:</strong> 12 January 2011 at 11:50pm<br /><br />I am attempting to evaluate this product, and while it seems to have everything I need and more, I cannot seem to get my events to load on my calendar.&nbsp; My evaluation period is almost up and I am yet to show my CEO any screen shots. Any help would be appreciated.<DIV>&nbsp;</DIV><DIV>I have the code below, and it doesn't error out, however, it only loads the LAST event to my calendar. I have tried moving the Populate, but nothing seems to matter. I am sure this is something very simple, but it has been such difficult process to show my events thus far.&nbsp; Any suggestions would be appreciated.</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>'gets collection of my events from the SQL table</DIV><DIV>Set lo_EventCol = MctcManager.CATManager.GetCalendarCol(MctcRoutines.GetDatePart(Now))<BR>&nbsp;&nbsp;&nbsp; </DIV><DIV>For Each lo_Event In lo_EventCol<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ll_EventID = lo_Event.ID<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Set lo_Calendar = Me.XCalendar<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; lo_Calendar.SetDataProvider "Provider=custom"<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Set lo_CalendarEvent = lo_Calendar.DataProvider.CreateEventEx(ll_EventID)</DIV><DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; If lo_CalendarEvent Is Nothing Then<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 'no action<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Else<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; lo_CalendarEvent.Subject = lo_Event.EventName<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; lo_CalendarEvent.StartTime = lo_Event.StartDate<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; lo_CalendarEvent.EndTime = lo_Event.EndDate<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; lo_CalendarEvent.EventVisible = True</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; If Not lo_Calendar.DataProvider.Open Then<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; lo_Calendar.DataProvider.Create<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; End If<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; lo_Calendar.DataProvider.AddEvent lo_CalendarEvent<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; End If<BR>&nbsp;&nbsp;&nbsp; Next lo_Event<BR>&nbsp;&nbsp;&nbsp; <BR>&nbsp;&nbsp;&nbsp; lo_Calendar.Populate</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>This only loads my LAST event to the calendar.&nbsp; Ideas?</DIV><DIV>Thanks,</DIV><DIV>JAdauto</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Wed, 12 Jan 2011 23:50:38 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=17778&amp;PID=62181&amp;title=only-loading-last-event#62181</guid>
  </item> 
 </channel>
</rss>