R
R Marko
I’m calculating payroll in a report:
Column 1
Begin Time
Column 2
End Time
Column 3
=DateDiff("n",[ActualBegin],[ActualEnd])/60
Column 4 - Hourly Rate
Column 5 - Actual Pay
=IIf([TotalHrs]*[Salary]>50,[TotalHrs]*[Salary],50)
Column 6 is an Override (to override previous calculations)
Column 7 - Expenses
Column 8 - TotalPay
=IIf(IsNull([Override]),[ActualPay],[Override])
Column 9 - Total
=[TotalPay]+[Expenses]
The calculations work perfectly but I cannot get the columns to add.
The fields where there are calculations i.e. ActualPay and TotalPay have the
code written directly into the field.
When I insert a field with:
=sum([ActualPay])
I get an error message where it does not recognize “ActualPayâ€
Please help!
Rhonda Marko
Column 1
Begin Time
Column 2
End Time
Column 3
=DateDiff("n",[ActualBegin],[ActualEnd])/60
Column 4 - Hourly Rate
Column 5 - Actual Pay
=IIf([TotalHrs]*[Salary]>50,[TotalHrs]*[Salary],50)
Column 6 is an Override (to override previous calculations)
Column 7 - Expenses
Column 8 - TotalPay
=IIf(IsNull([Override]),[ActualPay],[Override])
Column 9 - Total
=[TotalPay]+[Expenses]
The calculations work perfectly but I cannot get the columns to add.
The fields where there are calculations i.e. ActualPay and TotalPay have the
code written directly into the field.
When I insert a field with:
=sum([ActualPay])
I get an error message where it does not recognize “ActualPayâ€
Please help!
Rhonda Marko