Building iif expression

J

Jack

Can someone please help me design an expression in expression builder
that included "equal or grater than".

The example is the query design has a field called "value", which is
the result of a formula (in the source query), Some of the values are
#Div/0, due to the formula.
I want the expression in my query to be :
=iif([value] "not equal or greater than" 0,"N/A",[value])
OR
=iif([value] = OR > 0, [value], "N/A"])

But these expressions are not allowed.
 
G

Guest

Your syntax is wrong. You are writing as if in English instead of Boolean
Algebra.
=iif([value] "not equal or greater than" 0,"N/A",[value])
IIF( said:
=iif([value] = OR > 0, [value], "N/A"])
IIF(([Value] = 0 OR [Value] > 0, [Value], "N/A")
The you need something different.
IIF(([Value] = 0, "N/A", [YourOtherValue]/ [Value])
OR
IIF(([Value] = 0, 0, [YourOtherValue]/ [Value])


--
KARL DEWEY
Build a little - Test a little


Jack said:
Can someone please help me design an expression in expression builder
that included "equal or grater than".

The example is the query design has a field called "value", which is
the result of a formula (in the source query), Some of the values are
#Div/0, due to the formula.
I want the expression in my query to be :
=iif([value] "not equal or greater than" 0,"N/A",[value])
OR
=iif([value] = OR > 0, [value], "N/A"])

But these expressions are not allowed.
 

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


Top