Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Calendar
  New Posts New Posts RSS Feed - Multiple Schedulers
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Multiple Schedulers

 Post Reply Post Reply
Author
Message
Khayyat71 View Drop Down
Newbie
Newbie
Avatar

Joined: 06 January 2007
Location: Jordan
Status: Offline
Points: 6
Post Options Post Options   Thanks (0) Thanks(0)   Quote Khayyat71 Quote  Post ReplyReply Direct Link To This Post Topic: Multiple Schedulers
    Posted: 22 January 2007 at 2:56pm

I do have a simple question.

 

If I need to setup a group of employees (team) so I can let the user change the events for the whole (team) at the same time from the calender view.

 

Let me clarify it more...

If I have team A (3 employees) And Team B (2 employees), how can I adjust team A events from one calendar by simply changing the event time, so it will be reflected to all team A members?

                                                                                                                               

I'm wondering how resource and scheduler classes can help....

 

Thanks...

Hassan Khayyat

Back to Top
sserge View Drop Down
Moderator Group
Moderator Group


Joined: 01 December 2004
Status: Offline
Points: 1297
Post Options Post Options   Thanks (0) Thanks(0)   Quote sserge Quote  Post ReplyReply Direct Link To This Post Posted: 22 January 2007 at 4:11pm
Looking at your sample -- we can have 5 schedules for each employee, and 2 resources -- "Team A" and "Team B" which will have corresponding schedules in their collections.

Also we have 1 event associated to Employee #2 schedule (Team A).

In this case by changing this event properties, it will be reflected on a column with Team A calendar.

Below is the sample config file:

<?xml version="1.0" encoding="UTF-8"?>
<CalendarMultiResourcesConfiguration CompactMode="1">
    <DataProviders>
        <DataProvider ConnectionString="Provider=XML;Data Source=file1"/>
    </DataProviders>
    <Resources>
        <Resource Name="Team A" Enabled="1" GenerateName="0" ConnectionString="Provider=XML;Data Source=file1" SchedulesCount="2">
            <Schedules ScheduleID="1"/>
            <Schedules ScheduleID="2"/>
        </Resource>
        <Resource Name="Team B" Enabled="1" GenerateName="0" ConnectionString="Provider=XML;Data Source=file1" SchedulesCount="3">
            <Schedules ScheduleID="3"/>
            <Schedules ScheduleID="4"/>
            <Schedules ScheduleID="5"/>
        </Resource>
    </Resources>
</CalendarMultiResourcesConfiguration>


--
WBR,
Serge
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.141 seconds.