H
hobbit2612 via AccessMonster.com
Hi,
I wonder whether someone could help me please.
I have a query field where I perform a calculation of the difference between
two date fields, to be exact, when a report is expected to be returned and
the date I run the query i.e the current date. However I only want to make
this calculation if a third field, date report received is blank.
I have tried writing the calculation below, but all I get is that there are
an 'Incorrect number of arguments.'
IIf(IsNull([Date Report Returned], DateDiff(Date () - [Date Report Expected])
Could anyone shed a bit of light on where I maybe going wrong please.
Many thanks
Regards
I wonder whether someone could help me please.
I have a query field where I perform a calculation of the difference between
two date fields, to be exact, when a report is expected to be returned and
the date I run the query i.e the current date. However I only want to make
this calculation if a third field, date report received is blank.
I have tried writing the calculation below, but all I get is that there are
an 'Incorrect number of arguments.'
IIf(IsNull([Date Report Returned], DateDiff(Date () - [Date Report Expected])
Could anyone shed a bit of light on where I maybe going wrong please.
Many thanks
Regards