Informix Error -3755
-3755 The selected display-only field tagname cannot be accessed.
The field tag name that is passed to the C function pf_nxfield() is the name of a display-only field. Because the user is not allowed to enter data in a display-only field, the cursor cannot be located in one. Check the tag name that is supplied; if it is the one that you intended, review the attributes of that field, and find out why it has been set display-only.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-3755 fires when the C function pf_nxfield() is passed the tag name of a DISPLAYONLY
field — per the official guidance, the cursor can't be located in a display-only field since
the user isn't allowed to enter data there.
- A
DISPLAYONLYfield's tag name passed topf_nxfield(), per the official guidance — the direct, only cause.
Solutions / Resolution
- Check the tag name supplied to
pf_nxfield(), per the official guidance. - If it's the one intended, review the field's attributes and find out why it was set
DISPLAYONLY, per the official guidance.
Examples
Calling pf_nxfield with a DISPLAYONLY tag
pf_nxfield("cust_name");
/* -3755: cust_name is DISPLAYONLY, so the cursor can't be placed there */
Diagnostic Checks
- Check whether the tag name passed to
pf_nxfield()isDISPLAYONLY, and either pass a different tag or removeDISPLAYONLYif entry was intended.
Related Errors / Related Topics
- -3756 — "The selected field tag-name cannot be assigned a value at this time." A related
cursor-placement error, about a field not belonging to the current table rather than being
marked
DISPLAYONLY. - -3758 — "The next selected field tag-name is not in the current table." A related
pf_nxfield()error, about a field not belonging to the current table rather than being markedDISPLAYONLY.
pf_nxfield() was passed a DISPLAYONLY field's tag name — the cursor can't be placed there;
check the tag name and the field's attributes.