Informix Error -50712: Invalid value for InPlace. The default value will be set.
Cause and resolution
Invalid value for InPlace. The default value will be set.
Default values are TRUE for free-form SuperTables and FALSE for grid-form SuperTables.
A NULL value has been passed in for the BOOLEAN parameter inPlace during the construction of the OCX. A value of TRUE uses in-place activation for the OCX, whereas FALSE indicates that the OCX, when activated, will be displayed in a separate window (out-of-place activation). For an OCX created inside a grid-form SuperTable, the default is set to FALSE. For an OCX created in a free-form SuperTable or in a window, the parameter will default to TRUE.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-50712 is raised by the Window Painter GUI builder library in the Window Painter GUI builder library — per the official guidance:
Default values are TRUE for free-form SuperTables and FALSE for grid-form SuperTables. A NULL value has been passed in for the BOOLEAN parameter inPlace during the construction of the OCX. A value of TRUE uses in-place activation for the OCX, whereas FALSE indicates that the OCX, when activated, will be displayed in a separate window (out-of-place activation). For an OCX created inside a grid-form SuperTable, the default is set to FALSE. For an OCX created in a free-form SuperTable or in a window, the parameter will default to TRUE.
- Invalid value for InPlace. The default value will be set, per the official guidance — the direct, documented condition.
Solutions / Resolution
- Adjust the calling code to respect the constraint named in the message, per the official guidance — no other resolution is documented.
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 this condition flags here, against the constraint the official guidance describes.
Related Errors / Related Topics
No closely related error codes are cross-referenced for -50712 in this set yet.
Invalid value for InPlace. The default value will be set.