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

a number, or currency amount is required here

Status
Not open for further replies.

Jeffcis

IS-IT--Management
Aug 31, 2008
27
AU
Hi,

The below formula has no errors found but when I save it, an error pops up,i,e a number, or currency amount is required here.

if {Sheet1_.Net value} >=0
then Cstr ({Sheet1_.Net value}-{Sheet1_.Condition value},2,'')

The error formula is shown below:
if {Sheet1_.Invoiced Quantity} <> 0
then {@subtotal} / {Sheet1_.Invoiced Quantity}
else 0

then this {@subtotal} is HIGHLIGHTED in BLUE

Appreciate any help.
Jeffcis
 
Both the if and else values must be the same data type. So do not convert the answer to a string.

Software Sales, Training, Implementation and Support for Macola, eSynergy, and Crystal Reports

"What version of URGENT!!! are you using?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top