Hi All,
I have a control on a report in the program footer which is
=IIf([Program]="MATX",0,(([ActualStaffTime]/[NoMatxTotal])*[MATXHours]))
and it works just fine. However, I would like to sum the numbers it puts across from each program and get a total in the Worker's footer. Sooo...I've tried different variations of
=Sum(IIf([Program]="MATX",0,(([ActualStaffTime]/[NoMatxTotal])*[MATXHours])))
Instead it comes up with errors on the fields ActualStaffTime, NoMatxTotal, MatxHours.
What am I missing?
I have a control on a report in the program footer which is
=IIf([Program]="MATX",0,(([ActualStaffTime]/[NoMatxTotal])*[MATXHours]))
and it works just fine. However, I would like to sum the numbers it puts across from each program and get a total in the Worker's footer. Sooo...I've tried different variations of
=Sum(IIf([Program]="MATX",0,(([ActualStaffTime]/[NoMatxTotal])*[MATXHours])))
Instead it comes up with errors on the fields ActualStaffTime, NoMatxTotal, MatxHours.
What am I missing?