Start/End date of calendar view |
Post Reply |
Author | |
skiman
Groupie Joined: 20 December 2008 Location: Belgium Status: Offline Points: 88 |
Post Options
Thanks(0)
Posted: 30 December 2008 at 3:00am |
Hi,
I want to determine the start and end date of the current Calendar view. I want to 'populate' all the events for the current view.
I'm working with a custom data provider and since I have a lot of events, it takes too long to populate all the events in the database.
I would like to use the 'viewchanged' event to refresh the events between two dates.
I don't find how to determine the start and end date of the current view. Is this possible?
Regards,
Chris Andries.
|
|
ABO Service
|
|
SuperMario
Admin Group Joined: 14 February 2004 Status: Offline Points: 18057 |
Post Options
Thanks(0)
|
Debug.Print "First Day: " & CalendarControl.ActiveView.Days(0).Date
Debug.Print "Last Day: " & CalendarControl.ActiveView.Days(CalendarControl.ActiveView.DaysCount - 1).Date |
|
Auge_Ohr
Groupie Joined: 20 December 2008 Status: Offline Points: 65 |
Post Options
Thanks(0)
|
hi Chris,
funny i ask the same before and got no Answer. Did my last Sample work for you ? |
|
greetings by OHR
Jimmy |
|
skiman
Groupie Joined: 20 December 2008 Location: Belgium Status: Offline Points: 88 |
Post Options
Thanks(0)
|
Hi Jimmy,
Yes, your last sample was working. Haven't you seen my mail?
Regards,
Chris.
|
|
ABO Service
|
|
skiman
Groupie Joined: 20 December 2008 Location: Belgium Status: Offline Points: 88 |
Post Options
Thanks(0)
|
Hi,
Yes, this is working as expected.
Regards,
Chris
|
|
ABO Service
|
|
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 |