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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Crystal Reports with Progression Explorer

Status
Not open for further replies.

mcole22

Technical User
Apr 27, 2007
6
US
I need a formula like below, just not sure what to put after the else.

if {IMRECHST_SQL.qty_received} is <=0 then 0 else (in this I want the actual amount received {IMRECHST_SQL.qty_received}

What I am getting in the received qty is, if the qty was received it is showing -450 and if it hasn't been received it is showing 450 and I want this latter part to show 0.

I tried it like this - if {IMRECHST_SQL.qty_received}<= 0 then 0 else {IMRECHST_SQL.qty_received}. But it came up with this error - The formula result must be a boolean
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top