I don't think you can use IS NULL in the IIf statement. Try:
IIf(IsNull([DateOfDate]), Date(), [DateOfDeath])
Of course, this is exactly what the Nz function is for:
Nz([DateOfDate], Date())

Signature
Doug Steele, Microsoft Access MVP
http://I.Am/DougSteele
(no private e-mails, please)
> within your existing code,
>
[quoted text clipped - 14 lines]
>>
>> Philip Wright
Klatuu - 31 Jul 2006 19:25 GMT
In VBA you can't. In SQL you can.
> I don't think you can use IS NULL in the IIf statement. Try:
>
[quoted text clipped - 22 lines]
> >>
> >> Philip Wright
Philip Wright - 31 Jul 2006 20:06 GMT
Thanks for the help. The Nz function worked as I wanted.
> I don't think you can use IS NULL in the IIf statement. Try:
>
[quoted text clipped - 22 lines]
> >>
> >> Philip Wright