NAT1125: Too many significant digits in numeric input value
Posted: Fri Aug 05, 2011 3:06 am
I'm getting this error when entering a number that is too big for the field (for example, if I enter 999 for a N1.4 field).
I would like to catch this situation and display a more meaningful error message if possible. Is it possible to bypass the Natural system error and display my own error message?
I tried it using a few variations of ON-ERROR / IF *ERROR-NR = 1125, REINPUT " " , but it still is displaying the system error.
I'm thinking it's possible to work with the field as an alpha instead, but I would like to avoid having to do that if possible.
I would like to catch this situation and display a more meaningful error message if possible. Is it possible to bypass the Natural system error and display my own error message?
I tried it using a few variations of ON-ERROR / IF *ERROR-NR = 1125, REINPUT " " , but it still is displaying the system error.
I'm thinking it's possible to work with the field as an alpha instead, but I would like to avoid having to do that if possible.