Print Page | Close Window

GetScheduleName

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=4157
Printed Date: 22 November 2024 at 3:44am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: GetScheduleName
Posted By: WaaZ
Subject: GetScheduleName
Date Posted: 07 May 2006 at 11:09am

Hi,

The method DataProvider.Schedules.GetScheduleName does not seem to be working properly. I am supplying it with an ID, but it is not returning me the correct string that correspond to the name. It is instead returning me a series of bits that obviously form a strange set of characters.

Thanks

WaaZ




Replies:
Posted By: sserge
Date Posted: 08 May 2006 at 10:50am
Hi,

Agree, looks to be a bug, will fix for the next version. As a workaround you can get the name by index:

.DataProvider.Schedules(i).Name

--
WBR,
Serge


Posted By: WaaZ
Date Posted: 08 May 2006 at 11:07am

This can be done indeed... but when you have only the ID, and not the  index, you need to parse trough the collection and get the ID.

I should remind my fellow collegues that ID does not correspond to index... nor does it correspond to index+1

Thanks

WaaZ




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