Print Page | Close Window

How to loop all displayed events

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Calendar
Forum Description: Topics Related to Codejock Calendar
URL: http://forum.codejock.com/forum_posts.asp?TID=17691
Printed Date: 08 July 2024 at 1:20pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: How to loop all displayed events
Posted By: jgordon428
Subject: How to loop all displayed events
Date Posted: 16 December 2010 at 1:14pm
I'm looking for a way to loop through all events displayed on the schedule. I thought I could do it withsomething like this:

dim e as CalendarEvent

For each e in CalendarControl.DataProvider.GetAllEventsRaw
msgbox e.subject
loop

However CalendarControl.DataProvider.GetAllEventsRaw doesn't seem to work. In fact,  CalendarControl.DataProvider.GetAllEventsRaw.count always returns 0, so not sure what this is even referring to.

Regardless, is there any way to get a handle to all the events on the calendar (not just selected ones).

Thanks.



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net