Setting Date programmatically in Access 2002 |
Post Reply |
Author | |
Muesli
Newbie Joined: 01 December 2008 Status: Offline Points: 7 |
Post Options
Thanks(0)
Posted: 02 December 2008 at 11:02am |
Hi,
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.
|
|
Muesli
Newbie Joined: 01 December 2008 Status: Offline Points: 7 |
Post Options
Thanks(0)
|
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.
What's more, : 1) the Populate method doesn't work either anymore (!!), meaning the Events are well read through the dataprovider, but none is displayed. 2) In place create event is disabled. I give up ... |
|
SuperMario
Admin Group Joined: 14 February 2004 Status: Offline Points: 18057 |
Post Options
Thanks(0)
|
I am using 12.1.1 and everything seems to work fine. I just modified the Calendar Access sample with this code:
Private Sub cmdDayView_Click() Me.CalendarControl1.ViewType = xtpCalendarDayView Me.CalendarControl1.DayView.ShowDay #1/20/2007# End Sub Private Sub cmdMonthView_Click() Me.CalendarControl1.ViewType = xtpCalendarMonthView Me.CalendarControl1.MonthView.ShowDay #1/20/2007# End Sub Private Sub cmdWeekView_Click() Me.CalendarControl1.ViewType = xtpCalendarWeekView Me.CalendarControl1.WeekView.ShowDay #1/20/2007# End Sub Private Sub cmdWorkWeekView_Click() Me.CalendarControl1.ViewType = xtpCalendarWorkWeekView Me.CalendarControl1.DayView.ShowDays #1/20/2007#, #1/24/2007# End Sub |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |