Informix Error -50704: Bad initialDataValue. Displaying empty data in the ixOleField.
Cause and resolution
Bad initialDataValue. Displaying empty data in the ixOleField.
The initialDataValue parameter of this ixOleSite object is an ixOleByte object that cannot be displayed in the ixOleField by its OLE document server. Examine the code that specifies this value. For information about what kind of data it can display, consult your OLE document server documentation.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-50704 is raised by the ixOleField class in the Window Painter GUI builder library — per the official guidance:
The initialDataValue parameter of this ixOleSite object is an ixOleByte object that cannot be displayed in the ixOleField by its OLE document server. Examine the code that specifies this value. For information about what kind of data it can display, consult your OLE document server documentation.
- Bad initialDataValue. Displaying empty data in the ixOleField, 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
ixOleFieldflags here, against the constraint the official guidance describes.
Related Errors / Related Topics
- -50702 — "Invalid displayType for an ixOleField." Another
ixOleField-related condition in this set. - -50701 — "Invalid data for an ixOleField." Another
ixOleField-related condition in this set.
Bad initialDataValue. Displaying empty data in the ixOleField.