<?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 : Setting Date programmatically in Access 2002</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Calendar : Setting Date programmatically in Access 2002]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Fri, 29 May 2026 21:53:27 +0000</pubDate>
  <lastBuildDate>Wed, 10 Dec 2008 12:49: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=12838</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[Setting Date programmatically in Access 2002 : I am using 12.1.1 and everything...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=12838&amp;PID=43529&amp;title=setting-date-programmatically-in-access-2002#43529</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=369">SuperMario</a><br /><strong>Subject:</strong> 12838<br /><strong>Posted:</strong> 10 December 2008 at 12:49pm<br /><br />I am using 12.1.1 and everything seems to work fine.&nbsp; I just modified the Calendar Access sample with this code:<br><br>Private Sub cmdDayView_Click()<br>&nbsp;&nbsp;&nbsp; Me.CalendarControl1.ViewType = xtpCalendarDayView<br>&nbsp;&nbsp;&nbsp; Me.CalendarControl1.DayView.ShowDay #1/20/2007#<br>End Sub<br><br>Private Sub cmdMonthView_Click()<br>&nbsp;&nbsp;&nbsp; Me.CalendarControl1.ViewType = xtpCalendarMonthView<br>&nbsp;&nbsp;&nbsp; Me.CalendarControl1.MonthView.ShowDay #1/20/2007#<br>End Sub<br><br>Private Sub cmdWeekView_Click()<br>&nbsp;&nbsp;&nbsp; Me.CalendarControl1.ViewType = xtpCalendarWeekView<br>&nbsp;&nbsp;&nbsp; Me.CalendarControl1.WeekView.ShowDay #1/20/2007#<br>End Sub<br><br>Private Sub cmdWorkWeekView_Click()<br>&nbsp;&nbsp;&nbsp; Me.CalendarControl1.ViewType = xtpCalendarWorkWeekView<br>&nbsp;&nbsp;&nbsp; Me.CalendarControl1.DayView.ShowDays #1/20/2007#, #1/24/2007#<br>End Sub<br>]]>
   </description>
   <pubDate>Wed, 10 Dec 2008 12:49:33 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=12838&amp;PID=43529&amp;title=setting-date-programmatically-in-access-2002#43529</guid>
  </item> 
  <item>
   <title><![CDATA[Setting Date programmatically in Access 2002 : Sorry, but there&amp;#039;s no fun...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=12838&amp;PID=43399&amp;title=setting-date-programmatically-in-access-2002#43399</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4765">Muesli</a><br /><strong>Subject:</strong> 12838<br /><strong>Posted:</strong> 03 December 2008 at 12:11pm<br /><br />Sorry, but there's no fun using CalendarPro2008 in MS Access 2002. After I switched from the test version12.0.2 to 12.1.1 no improvements have occured. <br><br>What's more, :<br><br>1) the Populate method doesn't work either anymore (!!), meaning the Events are well read through the dataprovider, but none is displayed.<br><br>2) In place create event is disabled.<br><br>I give up ...<br><br>]]>
   </description>
   <pubDate>Wed, 03 Dec 2008 12:11:58 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=12838&amp;PID=43399&amp;title=setting-date-programmatically-in-access-2002#43399</guid>
  </item> 
  <item>
   <title><![CDATA[Setting Date programmatically in Access 2002 : Hi,Again testing Calendar 12.0.2...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=12838&amp;PID=43365&amp;title=setting-date-programmatically-in-access-2002#43365</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4765">Muesli</a><br /><strong>Subject:</strong> 12838<br /><strong>Posted:</strong> 02 December 2008 at 11:02am<br /><br />Hi,<br><br>Again testing Calendar 12.0.2 in Access 2002. I stumble upon the most basic functionality: Positioning programmatically the calendar control to a given date, whatever the view (day,month,week,...) and scroll to 8:00 AM. I tried the following code in the Form_Open method of a form, but the calendar stubbornly shows the current day/week or month and positions itself on Today at 0:00 AM. <br><br><table width="99%"><tr><td><pre class="BBcode"><br>&nbsp;&nbsp;&nbsp; With Me.Calendrier<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .VisualTheme = xtpCalendarThemeOffice2003<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; With .Options<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .WorkDayStartTime = TimeSerial(8, 0, 0)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .WorkDayEndTime = TimeSerial(20, 0, 0)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .UseOutlookFontGlyphs = False<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; End With<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Select Case DisplayMode<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Case 5<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .ViewType = xtpCalendarWorkWeekView<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .WeekView.ShowDay Min(DateAdd("d", -2, LastWeekDayDate(GivenDate)), GivenDate), True<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Case 7<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .ViewType = xtpCalendarWeekView<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .WeekView.ShowDay GivenDate, True<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Case 31<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .ViewType = xtpCalendarMonthView<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .MonthView.ShowDay GivenDate, True<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Case Else<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .ViewType = xtpCalendarDayView<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .DayView.ShowDay GivenDate, True<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; End Select<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .DayView.ScrollToWorkDayBegin<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .SetDataProvider "Provider=Access;"<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .DataProvider.OpenEx CurrentProject.Connection<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .Populate<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .RedrawControl<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; End With</pre></td></tr></table><br>]]>
   </description>
   <pubDate>Tue, 02 Dec 2008 11:02:40 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=12838&amp;PID=43365&amp;title=setting-date-programmatically-in-access-2002#43365</guid>
  </item> 
 </channel>
</rss>