iif not evaluating

A

Access Idiot

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
 
D

Duane Hookom

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
 
A

Amy Blankenship

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

Top