Answered
I'm trying to divide the sum of three fields, as well as set a maximum on the total. My current formcalc script looks likes this, but I keep getting an arthimetic over/underflow error. I just haven't had any luck trying to figure this out. It must have something to do with a null value. But I'm just not sure. Could someome possibly take a look and offer some help? Thanks so much.
var Total = Sum(Field1,Field2,Field3/Field4)
if (Total lt 225) then $ = Total else $ = 225 endif
Thom Parker
The source for PDF Scripting Info
www.pdfscripting.com
Very Important - How to Debug Your Script