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!

Trying to Sum (RegHrs+OTHrs+Parts)costs

Status
Not open for further replies.

Hacim

Technical User
Sep 5, 2002
63
US
When I insert this "total cost" formula, I get a blank field or value.{WOP.TOTALPARTSCOST}+{@RegHrCost}+{@OTCosts}

//formula {@RegHrCost}= {WOE.REGHRS}*{WOE.RATE}

//formula {@OTCosts}= {WOE.OTHRS}*{WOE.OTFACTOR}*{WOE.RATE}

Is it possible that I get no result because one of the fields: reg. hours, ot hours or parts costs was left blank?
If so how do I tell Crystall to sum fields that are not blank and ignor or give a 0 to the fields that were left blank?
Thanks
 
Under file, report options, make sure the "convert null field value to default" checkbox is selected. This will treat nulls like zeros is your formulas. Software Sales, Training and Support for Macola, Crystal Reports and Goldmine
dgilsdorf@mchsi.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top