Informix Error -2955
-2955 The name field-tag is not a displayed field in this form.
The name that is shown appears in the ATTRIBUTES section but nowhere in the SCREEN section. Check the spelling of the name; it is wrong in one of those places, or it has been omitted from the screen layout.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-2955 fires when a name appears in ATTRIBUTES but nowhere in the SCREEN section — per the
official guidance, the name is either misspelled in one of those two places, or it was omitted
from the screen layout entirely.
- A name defined in
ATTRIBUTESbut missing fromSCREEN, per the official guidance — the direct, only cause.
Solutions / Resolution
- Check the spelling of the name in both
ATTRIBUTESandSCREEN, per the official guidance. - If it's genuinely missing, add it to the screen layout, per the official guidance.
Examples
A tag defined in ATTRIBUTES but absent from SCREEN
ATTRIBUTES
cust_name = customer.name;
SCREEN
{
Order #: [ordnum]
}
END
-- -2955: cust_name has no [cust_name] field in SCREEN
Corrected
SCREEN
{
Order #: [ordnum]
Customer: [cust_name ]
}
END
Diagnostic Checks
- Check every field tag defined in
ATTRIBUTESagainst theSCREENlayout, and add or correct any missing entries.
Related Errors / Related Topics
- -2941 — "name is not a display field name on the form." The mirror-image error: a
reference to a field tag that's missing from
ATTRIBUTES, rather than one missing fromSCREEN.
A field tag defined in ATTRIBUTES doesn't appear in SCREEN — check spelling and add it to
the screen layout if it was genuinely omitted.