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!

Error in formula

Status
Not open for further replies.

Drus

Technical User
Jan 29, 2002
43
0
0
US
Why would the following formula return an error?

totext({SO_23CRWInvoiceDetail.QtyShipped}/{IM_90_UDF_IM_Masterfile.Weight}) + " " + totext({IM_90_UDF_IM_Masterfile.Label})

When I save the formula in Crystal it does not find an error, yet when I preview the report the error pops up. &ru
 
What error appears? Without the error, a wild guess is a division by zero error???

If that is your error then add a zero check:

if {IM_90_UDF_IM_Masterfile.Weight}<>0 then

totext({SO_23CRWInvoiceDetail.QtyShipped}/{IM_90_UDF_IM_Masterfile.Weight}) + &quot; &quot; + totext({IM_90_UDF_IM_Masterfile.Label}) Mike
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top