HowardHammerman
Instructor
I need to create a payroll report that separates employees' hours into regular and overtime.
The employees go out on service jobs (dispatches). Each dispatch will have a start and end time. I've already calculated the number of hours for each dispatch. For example, 3.50 hours. Regular time is the number of hours prior to 40 hours in a week. Overtime is the remainder in a week. Some employees work less than 40 hours. A dispatch can have hours in both categories if the prior dispatch was just under 40 hours.
I've grouped the data by employee and week and sorted it by date. I have a formula field, runtot, that accumulates the hours. All would be great if I could use the previous function to get the previous running total for each dispatch. Crystal won't allow it. Not sure why.
I suspect that the solution would be to create an array, but that eludes me.
Any help would be appreciated.
Howard Hammerman,
Crystal Training and Crystal Material
On-site classes and one-on-one coaching
Low-cost telephone/email support
The employees go out on service jobs (dispatches). Each dispatch will have a start and end time. I've already calculated the number of hours for each dispatch. For example, 3.50 hours. Regular time is the number of hours prior to 40 hours in a week. Overtime is the remainder in a week. Some employees work less than 40 hours. A dispatch can have hours in both categories if the prior dispatch was just under 40 hours.
I've grouped the data by employee and week and sorted it by date. I have a formula field, runtot, that accumulates the hours. All would be great if I could use the previous function to get the previous running total for each dispatch. Crystal won't allow it. Not sure why.
I suspect that the solution would be to create an array, but that eludes me.
Any help would be appreciated.
Howard Hammerman,
Crystal Training and Crystal Material
On-site classes and one-on-one coaching
Low-cost telephone/email support