iif not evaluating

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi, can't understand why this wont work:
=IIf(Not [dtmDateClosed] Is Null,[dtmdateclosed],"On Order")
I should show the dtmdateclosed value if it isnt Null, and the Words "On
order" if not.

Todd
 
Please don't ask the same question in multiple news groups.

--
Duane Hookom
MS Access MVP


Amy Blankenship said:
Try

IIF(IsNull([dtmdateclosed]), "On Order", [dtmdateclosed])


Access Idiot said:
Hi, can't understand why this wont work:
=IIf(Not [dtmDateClosed] Is Null,[dtmdateclosed],"On Order")
I should show the dtmdateclosed value if it isnt Null, and the Words "On
order" if not.

Todd
 
There's me told :-)

Duane Hookom said:
Please don't ask the same question in multiple news groups.

--
Duane Hookom
MS Access MVP


Amy Blankenship said:
Try

IIF(IsNull([dtmdateclosed]), "On Order", [dtmdateclosed])


Access Idiot said:
Hi, can't understand why this wont work:
=IIf(Not [dtmDateClosed] Is Null,[dtmdateclosed],"On Order")
I should show the dtmdateclosed value if it isnt Null, and the Words "On
order" if not.

Todd
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top