This little wonder in the query does the job well.
OOW: IIf(IsNull([LastJobEndDate]), DateDiff("d",[DoA],Date()), DateDiff("d",[LastJobEndDate],Date()))
But if the field "RefusedWork" is marked “Yes", then the date to make the calculation is from the field, "FirstRefusalDate".
Woe is me. The brain doesn't know where nor how to throw this into the calculation. Can anyone help please?
OOW: IIf(IsNull([LastJobEndDate]), DateDiff("d",[DoA],Date()), DateDiff("d",[LastJobEndDate],Date()))
But if the field "RefusedWork" is marked “Yes", then the date to make the calculation is from the field, "FirstRefusalDate".
Woe is me. The brain doesn't know where nor how to throw this into the calculation. Can anyone help please?