How can I get the Resource... |
Post Reply |
Author | |
djldc
Newbie Joined: 08 January 2010 Status: Offline Points: 7 |
Post Options
Thanks(0)
Posted: 10 February 2010 at 9:55am |
I am trying to retrieve the schedule name or ID by a double click. Say I have three schedules... I want to be able to automatically get the schedule name or ID of the column that I want to make an appointment for. I see that I can get a Schedule Name, but only if I have an ID. Thanks for any help.
DOn |
|
phainge
Groupie Joined: 03 July 2009 Status: Offline Points: 20 |
Post Options
Thanks(0)
|
Hi Don,
The following VB6 code will return the resource object for the calendar view that was double-clicked, you can then use this to get the schedule(s) assigned to that view via the "ScheduleIDs" property of the returned resource object:
CalendarControl.MultipleResources.Item(CalendarControl.ActiveView.Selection.GroupIndex)
The above assumes that your calendar control is called "CalendarControl".
Peter
|
|
Xtreme SuitePro (ActiveX) 15.1.3
Windows 7 Pro (64bit) SP1 Visual Basic 6.0 SP4 |
|
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 |