<?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 : SQL Server Events</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Calendar : SQL Server Events]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 13 May 2026 07:56:51 +0000</pubDate>
  <lastBuildDate>Sun, 30 Jul 2006 19:08:27 +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=4586</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[SQL Server Events : I&amp;#039;d also suggest to change...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=4586&amp;PID=14474&amp;title=sql-server-events#14474</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=862">sserge</a><br /><strong>Subject:</strong> 4586<br /><strong>Posted:</strong> 30 July 2006 at 7:08pm<br /><br />I'd also suggest to change this piece of code by calling Calendar.Populate at the end of the loop to avoid some overhead calculations.<br><br>--<br>WBR,<br>Serge<br>]]>
   </description>
   <pubDate>Sun, 30 Jul 2006 19:08:27 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=4586&amp;PID=14474&amp;title=sql-server-events#14474</guid>
  </item> 
  <item>
   <title><![CDATA[SQL Server Events : Ok. After some sleep and some...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=4586&amp;PID=14151&amp;title=sql-server-events#14151</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1790">jcollier</a><br /><strong>Subject:</strong> 4586<br /><strong>Posted:</strong> 13 July 2006 at 12:29pm<br /><br />Ok.&nbsp; After some sleep and some time not thinking about it at all, I took another look and figured it out enough to get done what I need.&nbsp; It's actually pretty simple.<br><br>With rsDays<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .Open sql, db, adOpenForwardOnly, adLockReadOnly<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Do While Not .EOF<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Set NewEvent = Calendar.DataProvider.CreateEvent<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; NewEvent.StartTime = CDate(!StartDate)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; NewEvent.EndTime = DateAdd("d", 1, CDate(!EndDate))<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; NewEvent.AllDayEvent = True<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; NewEvent.Label = !RequestTypeID<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; NewEvent.Subject = !FirstName &amp; " " &amp; !LastName &amp; "-" &amp; !RequestType<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; NewEvent.Body = !FirstName &amp; " " &amp; !LastName &amp; "-" &amp; !RequestType<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 'NewEvent.ReminderSoundFile = ".."<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Calendar.DataProvider.AddEvent NewEvent<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Calendar.Populate<br>&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .MoveNext<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Loop<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .Close<br>&nbsp;&nbsp;&nbsp; End With<br><br><br>]]>
   </description>
   <pubDate>Thu, 13 Jul 2006 12:29:02 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=4586&amp;PID=14151&amp;title=sql-server-events#14151</guid>
  </item> 
  <item>
   <title><![CDATA[SQL Server Events : Maybe I should give more explanation...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=4586&amp;PID=14146&amp;title=sql-server-events#14146</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1790">jcollier</a><br /><strong>Subject:</strong> 4586<br /><strong>Posted:</strong> 12 July 2006 at 4:12pm<br /><br />Maybe I should give more explanation of what I am trying to do.<br><br>I have 2 tables in a sql server database.&nbsp; One for employees and one for days they request to have off for any number of reasons (Vacation, Personal, Sick, Jury Duty, etc...)<br><br>I just want a person to be able to fill out a form with the reason of the request from a combo box, a start date and an end date.&nbsp; I have that data being stored in the database with no problem.&nbsp; The problem comes with trying to get the event to display on the calendar.&nbsp; It seems that, unless I am missing something which I probably am, it is more complicated than it needs to be.<br><br>Sorry to sound cranky.&nbsp; One of those days.<br><br>Thanks!<br>]]>
   </description>
   <pubDate>Wed, 12 Jul 2006 16:12:59 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=4586&amp;PID=14146&amp;title=sql-server-events#14146</guid>
  </item> 
  <item>
   <title><![CDATA[SQL Server Events : Ok, I&amp;#039;m probably just old,...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=4586&amp;PID=14145&amp;title=sql-server-events#14145</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1790">jcollier</a><br /><strong>Subject:</strong> 4586<br /><strong>Posted:</strong> 12 July 2006 at 3:56pm<br /><br />Ok, I'm probably just old, tired and slow but I am having an extremely difficult time getting the Calendar to connect to a SQL Server 2000 database and then populate the events.<br><br>Does anyone have a function or small sample that they could share?<br><br>Thanks!<br>]]>
   </description>
   <pubDate>Wed, 12 Jul 2006 15:56:53 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=4586&amp;PID=14145&amp;title=sql-server-events#14145</guid>
  </item> 
 </channel>
</rss>