P
p-rat
I have a report that comes from a query. This report shows detailed
rows of TruckTickets. It is grouped by Driver, Location, and Date. I
have a field in this query that comes from a payroll table that shows
Driver paid hours by the date. In the query this DriverPaidHours field
shows up on each TruckTicket or each detail row, but I hide this and
then use MAX(DriverPaidHours) in the Driver group footer. ShopHours
column is then MAX(DriverPaidHours) - TruckHours. It should look like
this:
DALLAS,TX
driver truckticket customer driverpaidhours truck hours
shophours
sam 1 cust1 12.0 (hidden)
4.0
sam 2 cust2 12.0 (hidden) 4.0
sam 3 cust3 12.0 (hidden) 4.0
___________________________________________________________
sam 12.0
12.0 0.0
tom 4 cust4 11.0 (hidden)
9.0
___________________________________________________________
tom 11.0
9.0 2.0
DALLAS total 23.0
21.0 2.0
I can't get this MAX(DriverPaidHours) to SUM correctly on the Location
group footer or any other group footer. I've tried the runningsum
property of overgroup and overall and this doesn't work. If anyone
could help me out I'd appreciate it GREATLY! Thanks.
rows of TruckTickets. It is grouped by Driver, Location, and Date. I
have a field in this query that comes from a payroll table that shows
Driver paid hours by the date. In the query this DriverPaidHours field
shows up on each TruckTicket or each detail row, but I hide this and
then use MAX(DriverPaidHours) in the Driver group footer. ShopHours
column is then MAX(DriverPaidHours) - TruckHours. It should look like
this:
DALLAS,TX
driver truckticket customer driverpaidhours truck hours
shophours
sam 1 cust1 12.0 (hidden)
4.0
sam 2 cust2 12.0 (hidden) 4.0
sam 3 cust3 12.0 (hidden) 4.0
___________________________________________________________
sam 12.0
12.0 0.0
tom 4 cust4 11.0 (hidden)
9.0
___________________________________________________________
tom 11.0
9.0 2.0
DALLAS total 23.0
21.0 2.0
I can't get this MAX(DriverPaidHours) to SUM correctly on the Location
group footer or any other group footer. I've tried the runningsum
property of overgroup and overall and this doesn't work. If anyone
could help me out I'd appreciate it GREATLY! Thanks.