A
Annelie
I have a report where in the footer I am trying to subtract some values
Which were as such:
=Sum(Abs([payrollitem]="Hrl Vacation")*[GrossPay])
=Sum(Abs([payrollItem]="Hrl Holiday")*[GrossPay])
=Sum(Abs([employeeName]="Lastname, ADALBERTO")*[grosspay])
My report lists the payroll for the week, less Vacation and Holiday pay,
less this one employee's pay. But I just realized that I had a problem in my
formula because his gross pay also includes holiday pay. So now I am trying
to extract only his regular pay.
but my statement does not work
=IIf([employeeName]="lastName, ADALBERTO",Sum(Abs([payrollitem]="Reg
Hrl")*[grosspay]))
the result is a blank field
What is wrong with my statement?
Annelie
Which were as such:
=Sum(Abs([payrollitem]="Hrl Vacation")*[GrossPay])
=Sum(Abs([payrollItem]="Hrl Holiday")*[GrossPay])
=Sum(Abs([employeeName]="Lastname, ADALBERTO")*[grosspay])
My report lists the payroll for the week, less Vacation and Holiday pay,
less this one employee's pay. But I just realized that I had a problem in my
formula because his gross pay also includes holiday pay. So now I am trying
to extract only his regular pay.
but my statement does not work
=IIf([employeeName]="lastName, ADALBERTO",Sum(Abs([payrollitem]="Reg
Hrl")*[grosspay]))
the result is a blank field
What is wrong with my statement?
Annelie