<?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 : What am I doing wrong</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Calendar : What am I doing wrong]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 13 May 2026 07:09:20 +0000</pubDate>
  <lastBuildDate>Tue, 08 Aug 2006 14:13:33 +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=4740</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[What am I doing wrong : Looks like I need more information...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=4740&amp;PID=14764&amp;title=what-am-i-doing-wrong#14764</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=862">sserge</a><br /><strong>Subject:</strong> 4740<br /><strong>Posted:</strong> 08 August 2006 at 2:13pm<br /><br />Looks like I need more information to proceed with investigating this issue. <br>The best would be if you can create a small sample showing the problem, or attach your app (in support area). <br><br>Otherwise, try making a few screenshots and collect more information.<br><br>For example, insert some logging into this event handler, like: <div><span style="font-family: 'Courier New'; font-size: 12px; color: rgb(0, 0, 0); : transparent;">Debug.Print "&lt;event handler&gt; Date = " &amp; </span><span style="font-family: 'Tahoma'; font-size: 12px; color: rgb(0, 0, 0); : transparent;">SelectedDate<br><br>--<br>WBR,<br>Serge<br> </span></div>]]>
   </description>
   <pubDate>Tue, 08 Aug 2006 14:13:33 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=4740&amp;PID=14764&amp;title=what-am-i-doing-wrong#14764</guid>
  </item> 
  <item>
   <title><![CDATA[What am I doing wrong : Yes I did used &amp;#034;On Error...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=4740&amp;PID=14743&amp;title=what-am-i-doing-wrong#14743</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1884">moe188</a><br /><strong>Subject:</strong> 4740<br /><strong>Posted:</strong> 07 August 2006 at 5:17pm<br /><br />Yes I did used "On Error Rsume Next", and still not working.<DIV></DIV>]]>
   </description>
   <pubDate>Mon, 07 Aug 2006 17:17:17 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=4740&amp;PID=14743&amp;title=what-am-i-doing-wrong#14743</guid>
  </item> 
  <item>
   <title><![CDATA[What am I doing wrong : Did you try On Error Resume next...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=4740&amp;PID=14736&amp;title=what-am-i-doing-wrong#14736</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=862">sserge</a><br /><strong>Subject:</strong> 4740<br /><strong>Posted:</strong> 07 August 2006 at 1:37pm<br /><br />Did you try <b>On Error Resume next</b> in the beginning of the method?<br><br>--<br>WBR,<br>Serge<br>]]>
   </description>
   <pubDate>Mon, 07 Aug 2006 13:37:50 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=4740&amp;PID=14736&amp;title=what-am-i-doing-wrong#14736</guid>
  </item> 
  <item>
   <title><![CDATA[What am I doing wrong : No its not working, same result,...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=4740&amp;PID=14710&amp;title=what-am-i-doing-wrong#14710</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1884">moe188</a><br /><strong>Subject:</strong> 4740<br /><strong>Posted:</strong> 04 August 2006 at 6:20pm<br /><br /><DIV>No its not working,</DIV><DIV>same result, the only time the result is displayed is when I select todays date (system's date)</DIV><DIV></DIV> any idea how to fix this problem? <DIV>Thank you<img src="https://forum.codejock.com/smileys/smiley19.gif" border="0"></DIV>]]>
   </description>
   <pubDate>Fri, 04 Aug 2006 18:20:34 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=4740&amp;PID=14710&amp;title=what-am-i-doing-wrong#14710</guid>
  </item> 
  <item>
   <title><![CDATA[What am I doing wrong : Hi, Possible reasons:* some VB...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=4740&amp;PID=14709&amp;title=what-am-i-doing-wrong#14709</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=862">sserge</a><br /><strong>Subject:</strong> 4740<br /><strong>Posted:</strong> 04 August 2006 at 4:49pm<br /><br />Hi, <br><br>Possible reasons:<br>* some VB error<span style="font-family: 'Tahoma'; font-size: 12px; color: rgb(0, 0, 0); : transparent;">and function exit after error execution of ShowDay<br></span><div><div><span style="font-family: 'Tahoma'; font-size: 12px; color: rgb(0, 0, 0); : transparent;">Try to use err handlers like</span></div><div><span style="font-family: 'Tahoma'; font-size: 12px; color: rgb(0, 0, 0); : transparent;">    On Error Resume next&nbsp;</span></div><div>&nbsp;&nbsp;<span style="font-family: 'Tahoma'; font-size: 12px; color: rgb(0, 0, 0); : transparent;">Or</span></div><div><span style="font-family: 'Tahoma'; font-size: 12px; color: rgb(0, 0, 0); : transparent;">    On Error GoTo labelErrHandler:</span></div></div><br>* <span style="font-family: 'Courier New'; font-size: 12px; color: rgb(0, 0, 0); : transparent;">May be not correct day was shown, or events where not visible due scrolling position,<br> </span><div></div><span style="font-family: 'Courier New'; font-size: 12px; color: rgb(0, 0, 0); : transparent;">or no events on that day, or some other bug.<br><br>Is this working?<br><table width="99%"><tr><td><pre class="BBcode"><br></span><div><div><span style="font-family: 'Tahoma'; font-size: 12px; color: rgb(0, 0, 0); : transparent;">        Do Until .EOF</span></div><div><span style="font-family: 'Tahoma'; font-size: 12px; color: rgb(0, 0, 0); : transparent;">        If .Fields("Rdate").Value = SelectedDate Then</span></div><div><span style="font-family: 'Tahoma'; font-size: 12px; color: rgb(0, 0, 0); : transparent;">            Set NewCalendar = MainFrm.Calendar.DataProvider.CreateEvent</span></div><div><span style="font-family: 'Tahoma'; font-size: 12px; color: rgb(0, 0, 0); : transparent;">            Dim StartTime As Date, EndTime As Date</span></div><div><span style="font-family: 'Tahoma'; font-size: 12px; color: rgb(0, 0, 0); : transparent;">            StartTime = DateFromString(.Fields("rtimefrom").Value, Date)</span></div><div><span style="font-family: 'Tahoma'; font-size: 12px; color: rgb(0, 0, 0); : transparent;">            EndTime = DateFromString(.Fields("rtimeto").Value, Date)</span></div><div><span style="font-family: 'Tahoma'; font-size: 12px; color: rgb(0, 0, 0); : transparent;">            NewCalendar.StartTime = StartTime</span></div><div><span style="font-family: 'Tahoma'; font-size: 12px; color: rgb(0, 0, 0); : transparent;">            NewCalendar.EndTime = EndTime</span></div><div><span style="font-family: 'Tahoma'; font-size: 12px; color: rgb(0, 0, 0); : transparent;">            NewCalendar.Subject = .Fields("rclient").Value</span></div><div><span style="font-family: 'Tahoma'; font-size: 12px; color: rgb(0, 0, 0); : transparent;">            If .Fields("PatStatus").Value = True Then</span></div><div><span style="font-family: 'Tahoma'; font-size: 12px; color: rgb(0, 0, 0); : transparent;">                NewCalendar.Label = 1</span></div><div><span style="font-family: 'Tahoma'; font-size: 12px; color: rgb(0, 0, 0); : transparent;">            End If</span></div><div><span style="font-family: 'Tahoma'; font-size: 12px; color: rgb(0, 0, 0); : transparent;">            Calendar.DataProvider.AddEvent NewCalendar</span></div><div><span style="font-family: 'Tahoma'; font-size: 12px; color: rgb(0, 0, 0); : transparent;">        End If</span></div><div><span style="font-family: 'Tahoma'; font-size: 12px; color: rgb(0, 0, 0); : transparent;">            .MoveNext</span></div><div><span style="font-family: 'Tahoma'; font-size: 12px; color: rgb(0, 0, 0); : transparent;">        Loop</span></div></div><div><span style="font-family: 'Courier New'; font-size: 12px; color: rgb(0, 0, 0); : transparent;">    </span></div><div><div><span style="font-family: 'Tahoma'; font-size: 12px; color: rgb(0, 0, 0); : transparent;">       </span><span style="font-family: 'Tahoma'; font-size: 12px; color: rgb(0, 0, 0); : transparent;">Calendar.DayView.ShowDay SelectedDate</span></div></div><div><div><span style="font-family: 'Tahoma'; font-size: 12px; color: rgb(0, 0, 0); : transparent;">       </span><span style="font-family: 'Tahoma'; font-size: 12px; color: rgb(0, 0, 0); : transparent;">Calendar.Populate<br></pre></td></tr></table><br><br>--<br>WBR,<br>Serge<br></span></div></div><br><div></div><div><div></div></div>]]>
   </description>
   <pubDate>Fri, 04 Aug 2006 16:49:00 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=4740&amp;PID=14709&amp;title=what-am-i-doing-wrong#14709</guid>
  </item> 
  <item>
   <title><![CDATA[What am I doing wrong : Hi, okay everytime I select a...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=4740&amp;PID=14701&amp;title=what-am-i-doing-wrong#14701</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1884">moe188</a><br /><strong>Subject:</strong> 4740<br /><strong>Posted:</strong> 04 August 2006 at 3:02pm<br /><br />Hi,<DIV>okay everytime I select a date from standard monthview control, the data is retrieved from the database and displayed on the calendar control, but the calendar header always shows the default date. but once I add this line ( so the header will display the selected date from the monthview, the calendar remove all the events)</DIV><DIV>'////</DIV><DIV>Calendar.DayView.ShowDay SelectedDate</DIV><DIV>'////</DIV><DIV>Why????</DIV><DIV>&nbsp;</DIV><DIV>my code (working fine until I add the line above):</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Do Until .EOF<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; If .Fields("Rdate").Value =&nbsp;SelectedDate Then<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Set NewCalendar = MainFrm.Calendar.DataProvider.CreateEvent<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Dim StartTime As Date, EndTime As Date<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; StartTime = DateFromString(.Fields("rtimefrom").Value, Date)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; EndTime = DateFromString(.Fields("rtimeto").Value, Date)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; NewCalendar.StartTime = StartTime<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; NewCalendar.EndTime = EndTime<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; NewCalendar.Subject = .Fields("rclient").Value<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; If .Fields("PatStatus").Value = True Then<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; NewCalendar.Label = 1<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; Calendar.DataProvider.AddEvent NewCalendar<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Calendar.Populate<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; End If<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .MoveNext<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Loop</DIV><DIV>&nbsp;</DIV><DIV>Thank you</DIV>]]>
   </description>
   <pubDate>Fri, 04 Aug 2006 15:02:06 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=4740&amp;PID=14701&amp;title=what-am-i-doing-wrong#14701</guid>
  </item> 
 </channel>
</rss>