Informix Error -3758
-3758 The next selected field tag-name is not in the current table.
The field tag name that is passed to the C function pf_nxfield() is the name of a field that is not in the current table. The cursor is not allowed to enter such fields.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-3758 fires when the C function pf_nxfield() is passed the tag name of a field not in the
current table — per the official guidance, the cursor isn't allowed to enter such fields.
- A field tag name passed to
pf_nxfield()that isn't in the current table, per the official guidance — the direct, only cause.
Solutions / Resolution
- Pass a field tag name that belongs to the current table, consistent with the official guidance's identification of table membership as the requirement.
Examples
Checking a tag's table membership before calling pf_nxfield
Confirm which table a field tag's underlying column belongs to (via the form's ATTRIBUTES
section) before passing it to pf_nxfield() while operating on a different table's row.
Diagnostic Checks
- Check which table the field tag passed to
pf_nxfield()belongs to, and confirm it matches the current table.
Related Errors / Related Topics
- -3756 — "The selected field tag-name cannot be assigned a value at this time." A closely
related error, about the same not-in-current-table condition surfaced during value
assignment rather than
pf_nxfield()navigation. - -3755 — "The selected display-only field tagname cannot be accessed." A related
cursor-placement error, about a field being marked
DISPLAYONLYrather than not belonging to the current table.
pf_nxfield() was passed a tag name not in the current table — the cursor can't enter it;
check the tag's table membership.