Answered
I am very new at LiveCycle and I ma having a little difficulty on a calculaiton using FormCalc.
I have got the formula to work, but I keep getting an error message - I hoep someone can help!!
The formaula that I am using is: - ((1.4/(Mix_1/100))-1) * 10
where Mix_1 is a decimal field. The answer also needs to be a decimal feild.
As I said the formula works, and delivers the correct answer! (which suprised me), but when I test the script I get the follwing error message: -
"Script Faild (Language is formcalc; context is
xfa[0].form[0].topmostsubform[0].page1[0].MOD_Gas1[0])
script=((1.4/(Mix_1/100))-1) * 10
Error: arithmetic over/underflow"
Any ideas?
thanks
Ade
You might try doing the math by hand and looking at the results of the calculation when you use the largest and smallest expected values.
You may also have a condition where you are trying to divide by zero or a null value is being treated as zero. You may need to add a control 'if' statement to prevent division by zero or a null value.
George Kaiser