IIF Function

P

Pommy_g

Hi, i have a iif function and what value do i need to enter to make no data come up?



for instance

=iif(text1=2,2,[?no data?])
 
P

Pommy_g

yeh it was null thanks

also, how do you put the "more than" or "less than" functions into if
function, the expression builder is confusing me,

Ken Snell said:
Try Null.

=IIf(text1=2,2,Null)
--
Ken Snell
<MS ACCESS MVP>

Pommy_g said:
Hi, i have a iif function and what value do i need to enter to make no data come up?



for instance

=iif(text1=2,2,[?no data?])
 
K

Ken Snell

=IIf(text1>2,2,Null)
=IIf(text1<2,2,Null)
=IIf(text1>=2,2,Null)
=IIf(text1<=2,2,Null)

I don't use the Expression builder...I just type the symbols into the code.

--
Ken Snell
<MS ACCESS MVP>

Pommy_g said:
yeh it was null thanks

also, how do you put the "more than" or "less than" functions into if
function, the expression builder is confusing me,

"Ken Snell" <[email protected]> wrote in message
Try Null.

=IIf(text1=2,2,Null)
--
Ken Snell
<MS ACCESS MVP>

Pommy_g said:
Hi, i have a iif function and what value do i need to enter to make no data come up?



for instance

=iif(text1=2,2,[?no data?])
 

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

Similar Threads

IIF in Crosstab Expression 0
Multiple iif challenge 2
Count Function 6
IIf return multiple categories 6
IIF statement 5
Never Envisgaged this Problem! 0
Use Or in function 5
IIF(AND) statement 3

Top