IIF in report

mithani

Registered User.
Local time
Today, 22:18
Joined
May 11, 2007
Messages
291
Hello all,

There is one field "DeliverDate" on my purchase order report. What I want that if this field is empty, then should print "ASAP" otherwise print delivery date. I am giving this command but showing error:

IIF([deliveryDate]=null, "ASAP", [deliveryDate])

Thanks

mithani
 
You're close, but not quite there:

Code:
=IIF(IsNull([deliveryDate]), "ASAP", [deliveryDate])
 
thanks bob but showing #Error
 
Make sure that your deliveryDate field name and text box are not named the same and then use the field name in the delivery date spot.
 
thanks bob, working perfect.

mithani
 

Users who are viewing this thread

Back
Top Bottom