Avoiding results with negative numbers

D

Dale Cain

How can I format a query to return either zero or null
when my original expression may return a negative number.
 
K

Kelvin Lu

Try

NewValue : If([Value]<=0,0,[Value]) inplace of [Value] where [Value] is the
field with the negative numbers.

Kelvin
 
D

Dale

-----Original Message-----
Try

NewValue : If([Value]<=0,0,[Value]) inplace of [Value] where [Value] is the
field with the negative numbers.

Kelvin

Dale Cain said:
How can I format a query to return either zero or null
when my original expression may return a negative
number.


.
Thanks! I will plug it in.
 

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