Skip to Main Content

New to Java

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Attendance Report generation in Jasper Report using IReport.

843785Jan 3 2009 — edited Jan 4 2009
i have created a databse table in MSSQL 2000 like this

[empcode] [leave_date] [type] [reason]
--------------------------------------------------------------------------------------
100 2008-12-29 00:00:00.000 T Tour
100 2008-12-30 00:00:00.000 T Tour
101 2008-12-31 00:00:00.000 CL Casual Leave
102 2009-01-01 00:00:00.000 R Restricted holiday
100 2009-01-02 00:00:00.000 T Tour

This table contains only leave details....
but i need to create monthly attendance report such as below

empcode 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 .............
-----------------------------------------------------------------------------------------------------
100 P P P P S P T CL P P P S P P T ............
101 P T R R S R R T CL P P S P P P..............
102 P P P P S P P P P T T S CL P P P............


P-present
T-Tour
CL- causal leave
R- Restricted holiday
S-sunday

is there any way in Jasper Report to create report as above......
OR any SQL query to get the report like that.....

Thanks
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 1 2009
Added on Jan 3 2009
1 comment
242 views