Informix Error -50137
Cause and resolution
In ixSuperField constructor, updating maxDataChars to equal the length of the picture string.
A picture string value controls what characters can be typed in, and its length specifies how many characters a field can hold. You cannot enter more characters than the picture string allows, so in the case where maxDataChars is unequal to the picture length, it is adjusted to match. Check your constructor call, and change maxDataChars.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-50137 is raised by the ixSuperField class in the Window Painter GUI builder library — per the official guidance:
A picture string value controls what characters can be typed in, and its length specifies how many characters a field can hold. You cannot enter more characters than the picture string allows, so in the case where maxDataChars is unequal to the picture length, it is adjusted to match. Check your constructor call, and change maxDataChars.
- In ixSuperField constructor, updating maxDataChars to equal the length of the picture string, per the official guidance — the direct, documented condition.
Solutions / Resolution
- Check the specific value or object state the message names, per the official guidance, against the constraint it describes.
Examples
N/A
No specific triggering statement is documented beyond the class-library condition described above.
Diagnostic Checks
- Check the specific value, object state, or call sequence that
ixSuperFieldflags here, against the constraint the official guidance describes.
Related Errors / Related Topics
No closely related error codes are cross-referenced for -50137 in this set yet.
In ixSuperField constructor, updating maxDataChars to equal the length of the picture string.