YANKRAY
Technical User
- Nov 7, 2003
- 283
CR10.0
I have a Crystal Report that pulls a record for each day an employee works. I am grouping all the employee records and further grouping the employees by Supervisor.
I am trying to show on the group2 Footer the maximum consecutive days the employee did not work in the period.
I can show the various breaks by subtracting the previous work date from the work date at the detail level, but cannot show in the group 2 footer the maximum # of days break in the period.
For example:
Day Worked
Employee one 9/1/2006
Employee one 9/2/2006
Employee one 9/4/2006
Employee one 9/8/2006
Employee one 9/9/2006
Employee one 9/10/2006
Group 2 footer
Employee one Days worked Max # of consecutive off
6 3
Any suggestions would be appreciated.
Ray
Where the days off from 9/4 through 9/8 would be the maximum break for the time period.
I have a Crystal Report that pulls a record for each day an employee works. I am grouping all the employee records and further grouping the employees by Supervisor.
I am trying to show on the group2 Footer the maximum consecutive days the employee did not work in the period.
I can show the various breaks by subtracting the previous work date from the work date at the detail level, but cannot show in the group 2 footer the maximum # of days break in the period.
For example:
Day Worked
Employee one 9/1/2006
Employee one 9/2/2006
Employee one 9/4/2006
Employee one 9/8/2006
Employee one 9/9/2006
Employee one 9/10/2006
Group 2 footer
Employee one Days worked Max # of consecutive off
6 3
Any suggestions would be appreciated.
Ray
Where the days off from 9/4 through 9/8 would be the maximum break for the time period.