The following code works if there is a date in dtmInsExpDate
If dtmInsExpDate isblank or null I want it to be equal to today
Thanks, John
<pre> If Nz(Format(DLookup("dtmInsExpDate", "tblContractor", _
"lngContractorID =" & ID), "yyyymmdd"), Format(Date, "yyyymmdd")) _
< Format(Date, "yyyymmdd") Then
</pre>



