Hello all,
I have a report based on a query which filters for a specific employee and date range and displays all the shifts worked. The report looks something like this:
Name WorkDate ShiftCode Hours
John 2011-08-22 D 8
John 2011-08-23 E 12
John 2011-08-24 LOA 4
In this example, the paid hours are D+E = 8+12 = 20.
LOA = Leave Of Absence = 4 unpaid hours.
I'd like to have a "TOTALS" section on the bottom of the report which breaks down paid and unpaid hours. For example:
Total paid hours: 20
Total unpaid hours: 4
My question is, where and how do I code the math for this? Can I do it at the report level or query? Do I create an invisible form, then extract the numbers to the report?
I have a report based on a query which filters for a specific employee and date range and displays all the shifts worked. The report looks something like this:
Name WorkDate ShiftCode Hours
John 2011-08-22 D 8
John 2011-08-23 E 12
John 2011-08-24 LOA 4
In this example, the paid hours are D+E = 8+12 = 20.
LOA = Leave Of Absence = 4 unpaid hours.
I'd like to have a "TOTALS" section on the bottom of the report which breaks down paid and unpaid hours. For example:
Total paid hours: 20
Total unpaid hours: 4
My question is, where and how do I code the math for this? Can I do it at the report level or query? Do I create an invisible form, then extract the numbers to the report?