Home
Crystal Reports Training
Crystal Reports XI
Crystal Reports .NET
Crystal Reports Forum
News
Tech Support
Active Topics
Memberlist
Search
Help
Register
Login
Technical Questions
Crystal Reports Forum
:
Crystal Reports 9 through 2022
:
Technical Questions
Topic: Attendance Report
Author
Message
andrewsimon
Newbie
Joined: 28 Jun 2011
Online Status: Offline
Posts: 26
Topic: Attendance Report
Posted: 05 Sep 2011 at 3:39am
Hi,
I have the following informations and i want to generate an attendance report per day.I will explain the concept
EMP Table
ID NAME
1 Hassan
2 Hussain
3 Hameed
4 Cruz
5 Philip
Transaction table
EmpID Time
1 5/8/2010 8:00 AM
2 5/8/2010 9:00 AM
3 5/8/2010 10:00 AM
My Attendance Report should look like this
Date:5/8/2010
ID NAME STATUS
1 Hassan Present
2 Hussain Present
3 Hameed Present
4 Cruz Absent
5 Philip Absent
How to achieve this.Any help asap is appreciated.
Thank u..
bbbbb
IP Logged
hilfy
Admin Group
Joined: 20 Nov 2006
Online Status: Offline
Posts: 3702
Posted: 05 Sep 2011 at 5:56am
Try this:
1. Link from your employee table to the transaction table with a left outer join.
2. Group by date from the transaction table.
3. For the Status column, create a formula like this:
If IsNull({transaction.EmpID}) then 'Absent' else 'Present'
-Dell
Proviti, Data & Analytics Practice
www.protiviti.com/US-en/data-management-advanced-analytics
IP Logged
andrewsimon
Newbie
Joined: 28 Jun 2011
Online Status: Offline
Posts: 26
Posted: 05 Sep 2011 at 8:47pm
Thank you hilfy.
I tried in the same way,what you have suggested.
But the report displays only those employees, having transactions on that day.That means,the left outer join didn't work.
The report look like this,
ID NAME StATUS
1 Hassan Present
2 Hussain Present
3 Hammed Present
Thanks in advance for any help/advice you can give.
Edited by andrewsimon - 05 Sep 2011 at 8:48pm
bbbbb
IP Logged
Printable version
Forum Jump
-- Select Forum --
Announcements
Talk with the Author
Self-Publishing
Job Postings
New feature request
Report Design
Data Connectivity
Technical Questions
Tips and Tricks
Crystal Xcelsius
Report Design
Data Connectivity
Writing Code
Tips and Tricks
Report Design
Data Connectivity
Writing Code
Tips and Tricks
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
HOME
|
FREE EBOOK
|
PROGRAMMING GUIDE
|
PURCHASE
|
REVIEWS
|
CONTACT ME
|
FAQ
|
LINKS
|
PRIVACY
|
CLICK PLAYS
|
KONACAD
© 2004-2026 Brian Bischof. All Rights Reserved.