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

Running Total Formula

Status
Not open for further replies.

Rob2k2

Technical User
Oct 14, 2002
36
0
0
GB
I am using a running total field to sum up a field (field1) based on an evaluation formula on another field(field2).

However if the evaluation formula is not met i.e. the condition of the formula is not satisfied then it wont return anything.

Is there a way to return a 0 value instead of nothing?

Any help would be grately appreciated.

 
I think you would only get a null running total if you have a null in one of your fields. Try replacing {field1} with:

if isnull({field1}) then 0 else {field1}

For {field2}, establish a rule for nulls also that fits your needs:

isnull({field2}) or {field2} = yourvalue//or

not isnull({field2}) and {field2} = yourvalue

-LB
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top