473,385 Members | 1,218 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Graph for employee availability

I manage a small organisation of around 100 employees, with different
specialisations. It becomes difficult to check how many persons of
each specialisation are available at any time, based on their vacation
period. So I have made a ms-acces database as follows -

A table EMPL with details of employees.
A table SPEC with the various specialisations.
The EMPL table has a specialisation field linked to the SPEC table.
Finally a VACATION table with the following fields- EMPLOYEEID (linked
to EMPL), StartDate and EndDate (of vacations). So if Mr.Smith is
going out for 10 days in Jan and 15 days in Mar, The entries would be
-
EMPLID STARTDATE ENDDATE
2 03 Jan 07 13 Jan 07
7 15 Apr 07 15 May 07
2 15 Mar 07 30 Mar 07

where Mr.Smith is employee 2 and EMPLID 7 is some other employee. I
hope I have been able to make myself understood.

What I need is a report which can be grouped by specialisation,
showing me graphically which employees of each specialisation will be
available during the requested period.
So if I ask for the Jan to Jun period, I will get a graph showing
Mr.Smiths specialisation as the group heading and a horizontal bar for
Mr.Smith showing green for the period he is available and red in the
vacation period in Jan and mar. Ditto for all employees with the same
specialisation, one below the other. So one glance will show me which
guys will be available during any period.

Whew!

I hope somebody reads this entire message.

Anyways, what I need is guidance as to how do I do this. Which type of
graph can I use. Can I use the VACATION table data directly to
generate this kind of a graph?

Any advice is welcome, includiong a change in the way of visualising
or if there is some other tool better suited for this kind of thing.

Thanks
Maddy

May 15 '07 #1
2 4116
A pivot chart will do this. The key is recognizing that an employee is
either at work or not at work on any date. So you need to create a dataset
containing each date in a selected time period and for each date determine
if the employee was at work or not. Whether he was at work or not is a
true/false condition so for an employee you plot the date versus the
true/false condition.

The above is a simplified suggestion but it takes some good design and
considerable work to arrive at a pivot chart showing employees and whether
they were at work or not for the days a selected time period. I have done a
similar thing in a reservation database to show rooms availability in a
selected time period.

PC Datasheet
Providing Customers A Resource For Help With Access, Excel And Word
Applications
re******@pcdatasheet.com

"Maddy" <mn******@gmail.comwrote in message
news:11**********************@y80g2000hsf.googlegr oups.com...
>I manage a small organisation of around 100 employees, with different
specialisations. It becomes difficult to check how many persons of
each specialisation are available at any time, based on their vacation
period. So I have made a ms-acces database as follows -

A table EMPL with details of employees.
A table SPEC with the various specialisations.
The EMPL table has a specialisation field linked to the SPEC table.
Finally a VACATION table with the following fields- EMPLOYEEID (linked
to EMPL), StartDate and EndDate (of vacations). So if Mr.Smith is
going out for 10 days in Jan and 15 days in Mar, The entries would be
-
EMPLID STARTDATE ENDDATE
2 03 Jan 07 13 Jan 07
7 15 Apr 07 15 May 07
2 15 Mar 07 30 Mar 07

where Mr.Smith is employee 2 and EMPLID 7 is some other employee. I
hope I have been able to make myself understood.

What I need is a report which can be grouped by specialisation,
showing me graphically which employees of each specialisation will be
available during the requested period.
So if I ask for the Jan to Jun period, I will get a graph showing
Mr.Smiths specialisation as the group heading and a horizontal bar for
Mr.Smith showing green for the period he is available and red in the
vacation period in Jan and mar. Ditto for all employees with the same
specialisation, one below the other. So one glance will show me which
guys will be available during any period.

Whew!

I hope somebody reads this entire message.

Anyways, what I need is guidance as to how do I do this. Which type of
graph can I use. Can I use the VACATION table data directly to
generate this kind of a graph?

Any advice is welcome, includiong a change in the way of visualising
or if there is some other tool better suited for this kind of thing.

Thanks
Maddy

May 15 '07 #2
I'm glad you are now offering this help for free.

John... Visio MVP

"Steve" <so***@private.emailaddresswrote in message
news:F2*******************@newsread3.news.pas.eart hlink.net...
>
The above is a simplified suggestion but it takes some good design and
considerable work to arrive at a pivot chart showing employees and whether
they were at work or not for the days a selected time period. I have done
a similar thing in a reservation database to show rooms availability in a
selected time period.

PC Datasheet

May 16 '07 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

15
by: Timin Uram | last post by:
I'm not sure if this forum is the correct place to post this, but I couldn't think of any other group. I would really appreciate any help you could give me. FINAL GOAL OF MY APPLICATION:...
9
by: Lilith | last post by:
Is there a python module somewhere (been searching today, no luck) which has efficiently coded various graph-handling routines, such as finding the shortest path through a graph, or the set of all...
0
by: Don Grover | last post by:
Anyone have any sugestions of how to implement a rudimentary uptime graph on a web site so client can monitor webservice availability. Regards Don Grover
4
by: Jeremy | last post by:
How can I prove uptime (or quantify downtime) on an ASP.NET 1.1 Web application (running on an IIS6 Windows Server Standard server)? What's going on here is that I'm considering the feasability...
5
by: rekhasc | last post by:
hi all............... in my proj i am using a mschart .... now what i want is i want to display the graph amount v/s months I did the graph which shows date v/s amount its working good... i used...
2
by: sriniwas | last post by:
Hi Frnd's, m using prefuse visulation,it's have one display class and this class have one saveImage(outPutStream, String jpg,double size);. now graph is converting ia jpg image properly.now my...
4
by: Man4ish | last post by:
namespace ve/////////////////ve.h { struct VertexProperties { std::size_t index; boost::default_color_type color; }; }...
2
by: Man4ish | last post by:
I have created Graph object without vertex and edge property.It is working fine. #include <boost/config.hpp> #include <iostream> #include <vector> #include <string> #include...
0
by: eureka2050 | last post by:
Hi all, I am creating a radar chart containing 2 plots using jpgraph. My code is as follows:- include ("./jpgraph/src/jpgraph.php"); include ("./jpgraph/src/jpgraph_radar.php"); //...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.