Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Over flow results in a query

Status
Not open for further replies.

karpartz

Technical User
Jul 13, 2005
3
0
0
US
I have a query that shows the One days usage: ([AVERAGE DEMAND]/20). If the average demand for this product pulled from a table is 0 it shows over flow as a result of the query being run. How can I show the value as 0 for this query.
 
IIf([AVERAGE DEMAND]=0,0,[AVERAGE DEMAND]/20)

Have fun! :eek:)

Alex Middleton
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top