Informix Error -50111: Cannot use ixRow::insert(), ixRow::concat(), or ixRow::delete() on an ixRow when ixRow::isCountLocked is TRUE.
Cause and resolution
Cannot use ixRow::insert(), ixRow::concat(), or ixRow::delete() on an ixRow when ixRow::isCountLocked is TRUE.
This is a reminder that this row is locked and cannot have elements added (with ixRow::insert() or ixRow::concat()) or deleted (with ixRow::delete()). This is to prevent changing the count of a row copied from a database, which would make the row no longer match. (You can still reset the values in the row, however.) Make sure that your setting of isCountLocked matches your program logic for updating the row.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-50111 is raised by the ixRow class in the Window Painter GUI builder library — per the official guidance:
This is a reminder that this row is locked and cannot have elements added (with ixRow::insert() or ixRow::concat()) or deleted (with ixRow::delete()). This is to prevent changing the count of a row copied from a database, which would make the row no longer match. (You can still reset the values in the row, however.) Make sure that your setting of isCountLocked matches your program logic for updating the row.
- Cannot use ixRow::insert(), ixRow::concat(), or ixRow::delete() on an ixRow when ixRow::isCountLocked is TRUE, 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
ixRowflags here, against the constraint the official guidance describes.
Related Errors / Related Topics
- -50409 — "The number of items does not match the number of items in the ixRow object." Another
ixRow-related condition in this set.
Cannot use ixRow::insert(), ixRow::concat(), or ixRow::delete() on an ixRow when ixRow::isCountLocked is TRUE.