Modiyooch
370 pts. | Oct 3 2008 7:45PM GMT
I avoid this error in my logic. I validate the result before performing the calculation. If the result is greater than the field size I either skip the calc, move the highest value the field can hold, or return a message to the user.
Philpl1jb
24610 pts. | Oct 3 2008 8:19PM GMT
These can also be captured with MONITOR.
But before preventing it, it’s necessary to determine why it’s occuring and correct the issue.
Having a program error may not be as bad as having it appear to work when it really isn’t.
The error message is good, skipping the calc or filling it with the max value might be ok..but it might be a disaster.






