I have a FPW 2.6 screen that uses a numeric input memory variable (m.acct) with a picture clause '999 9999 999' for an input field.
We've taken the SPR and compiled it in VFP9 and it works fine, except that when the user types in all 10 digits it gives a brief wait window that says "numeric overflow" and then continues on properly without data corruption or issue.
I've tried increasing the picture clause to '9999 9999 999', removing the spaces '9999999999' and removing it completely. Nothing changes it. It always gives that message.
I've discovered that it has to do with (2^31)-1, which is the maximum value to store for 31 bits (0x7fffffff). If it's a value that size or smaller, no message. If you get to anything of 32-bits or larger (0x80000000) it causes the error. This happens only on memory variables.
If you input a table field, it works fine.
Does anybody know why this is? Or how to disable the wait window "numeric overflow" message?
Thanks!
Best regards,
Rick C. Hodgin
We've taken the SPR and compiled it in VFP9 and it works fine, except that when the user types in all 10 digits it gives a brief wait window that says "numeric overflow" and then continues on properly without data corruption or issue.
I've tried increasing the picture clause to '9999 9999 999', removing the spaces '9999999999' and removing it completely. Nothing changes it. It always gives that message.
I've discovered that it has to do with (2^31)-1, which is the maximum value to store for 31 bits (0x7fffffff). If it's a value that size or smaller, no message. If you get to anything of 32-bits or larger (0x80000000) it causes the error. This happens only on memory variables.
If you input a table field, it works fine.
Does anybody know why this is? Or how to disable the wait window "numeric overflow" message?
Thanks!
Best regards,
Rick C. Hodgin