<?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 : DoReadRPattern Timeout</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Calendar : DoReadRPattern Timeout]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Fri, 14 Aug 2026 00:36:34 +0000</pubDate>
  <lastBuildDate>Sun, 03 May 2009 17:34:35 +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=14205</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[DoReadRPattern Timeout : I&amp;#039;m using the Activex Version...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=14205&amp;PID=48579&amp;title=doreadrpattern-timeout#48579</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=5197">mhuratdo</a><br /><strong>Subject:</strong> 14205<br /><strong>Posted:</strong> 03 May 2009 at 5:34pm<br /><br />I'm using the Activex Version of the calendar control with a custom data provider.<br /><br />I can generate recurrence patterns (apparently ok) but when I try to read them I get a timeout. The problem seems to be because I'm reading the whole month and the DoRetrieveDayEvents is re-reading all the events every time. <br /><br />This happens because the MakeRetrieveDayEventsSQL sql string retrieves all the events before the day been read (as in the C# example)<br /><br />This should be ok, because I have to read the former events to be able to check if there is recurrence. I coded my program just like the C# example, but I get this timeout constantly. <br /><br />In the other hand it doesn't seem to be a method for finding an event in the calendar (so i don't create the same event every time).  <br /><br />Any ideas? what should I do? change the SQL String or checking if the event exists?<br /><br />This is the SQL string generated for today<br /><br />SELECT * FROM dbo.Events WHERE  (RecurrenceState = 0 OR  RecurrenceState = 1)  AND  <br />(YEAR(dtFrom) &lt; 2009&nbsp;&nbsp;&nbsp;OR (YEAR(dtFrom) = 2009 AND  (MONTH(dtFrom) &lt; 5 OR  MONTH(dtFrom) = 5 AND  DAY(dtFrom) &lt;= 3&nbsp;&nbsp;&nbsp;))) AND (YEAR(dtTo) &gt; 2009  OR (YEAR(dtTo) = 2009 AND  (MONTH(dtTo) &gt; 5 OR&nbsp;&nbsp;&nbsp;MONTH(dtTo) = 5 AND  DAY(dtTo) &gt;= 3  )))<br /><br /><br />Any ideas?]]>
   </description>
   <pubDate>Sun, 03 May 2009 17:34:35 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=14205&amp;PID=48579&amp;title=doreadrpattern-timeout#48579</guid>
  </item> 
 </channel>
</rss>