Hi All,
I have a condition that is as such:
if (A<>0) then ((B-A)/A) else Null.
I get the error message stating this:
Error number -51:
DMS-E-MATHEXCEPTION, An arithmetic exception was detected.
EXPENG-E-ZERO_DIVR, <Floating point> divide/mod by zero is invalid.
However, if I change the formula to be "if (A<>0) then (1) else Null" it will work fine. Also, if I change the condition to be "if (A<>0 and B<>0) then ((B-A)/A) else null and I get the same thing.
Any help would be much appreciated. I should also mention that A and B are group totals.
Thanks...Shearbec
I have a condition that is as such:
if (A<>0) then ((B-A)/A) else Null.
I get the error message stating this:
Error number -51:
DMS-E-MATHEXCEPTION, An arithmetic exception was detected.
EXPENG-E-ZERO_DIVR, <Floating point> divide/mod by zero is invalid.
However, if I change the formula to be "if (A<>0) then (1) else Null" it will work fine. Also, if I change the condition to be "if (A<>0 and B<>0) then ((B-A)/A) else null and I get the same thing.
Any help would be much appreciated. I should also mention that A and B are group totals.
Thanks...Shearbec