Why the report errors out when evaluating a formula that equals zero? -
i have formula field:
global numbervar totdiff; whileprintingrecords; if {@quantexceding} <> 0 totdiff := totdiff + abs({@quantexceding}) else totdiff := totdiff
initially, if clause not there, thought abs
erroring out when passed 0. see whatever quantexceding
, when equals 0, reports errors out , highlights first line of if or whatever line invokes quantexceding
any ideas ?
change formula , make sure {@quantexceding} evaluating first:
whileprintingrecords; evaluateafter({@quantexceding}); global numbervar totdiff; if {@quantexceding} <> 0 totdiff := totdiff + abs({@quantexceding}) else totdiff := totdiff
Comments
Post a Comment