Print Page | Close Window

Employee Leave Calendar Type Grid

Printed From: Crystal Reports Book
Category: Crystal Reports 9 through 2020
Forum Name: Report Design
Forum Discription: The best way to design a report and problems you have encountered
URL: http://www.crystalreportsbook.com/forum/forum_posts.asp?TID=1584
Printed Date: 04 May 2024 at 9:24pm


Topic: Employee Leave Calendar Type Grid
Posted By: pilot
Subject: Employee Leave Calendar Type Grid
Date Posted: 28 Oct 2007 at 6:40am
Hey everyone

I am in desperate need of help. I am writing this program for my mom in c# (windows application) in visual studio 2005. I have done everything so far and got it to work, I prefer doing manual coding to using wizards because I have more control then and I am used to coding. The program is a leave management system, basically you enter employee details, then you add leave for that employee, example, Jannie Botha is on leave between the 28th and the 30th of April 2007 because his wife gave birth (Leave Type B) then. So there is a leave type in the system.

The input is working great and everything, but the problem comes with the report. The main purpose of the program is to generate the specified reports. I have played a bit around with Crystal Repots and done some reports in it, but I am struggling with the leave report I have to create in Crystal Reports.

My database design is included below (not that many employees, about 800 - so I figured Access would be sufficient because I can’t really install SQL or Oracle on their machines).
The Report should contain:
The employee name, etc.
A legend with the leave types from the leave table and their corresponding color
A per 6 month report grid, depending on which half of the year it is, it should automatically generate that half of the year’s 6 months in full, meaning printing small blocks for every day of every month. The specific day of the month should also be specified at the axis, eg. Monday - the 21st. Then, for all the leave entries in the leave table, the corresponding blocks in the report grid should be colored according to the leave date & the leave type (leave color). The day block should be generated on the amount of days the month has. (should make provision for leap years).


Please I would really appreciate it if anyone could help or point me in the correct direction. I am doing this to simplify my moms work, because they expect her to create 800+ word perfect documents and go and color the blocks in every table in every cell in every document (pretty dumb I know).

(The db design and the report is included as attachments).
 
dbdesign
 
 
 
 
 
 

Thanks for reading this.
Regards
Riaan


-------------
Programming is defining the undefined universe



Replies:
Posted By: BrianBischof
Date Posted: 28 Oct 2007 at 9:51pm
Here are some links on using Crystal Reports to print calendar grids.

http://www.ml-consult.co.uk/cryst-06.htm - http://www.ml-consult.co.uk/cryst-06.htm

http://diamond.businessobjects.com/node/837 - http://diamond.businessobjects.com/node/837


-------------
Please support the forum! Tell others by linking to it on your blog or website:<a href="http://www.crystalreportsbook.com/forum/">Crystal Reports Forum</a>



Print Page | Close Window