Hi,
I have the following as the Control Source for a text field on a Report
=IIf([Time type]="Overtime",1.5*([Finish]-[Start]),1*([Finish]-[Start]))
The idea is that the working hours are totalled each day for each type of work, i.e. normal time and overtime. Overtime is paid at time and a half. Finish and Start fields are short time format.
The values "Overtime" or "Normal Time" appear in another field on the same report.
It appears that the [Time type]="Overtime" part of the expression is not being recognised as the answer is always [Finish]-[Start].
Can anyone help?
Thanks,
Graham