Informix Error -2975
-2975 The display field label tag-name has not been used.
The indicated name was defined in the SCREEN section but not in the ATTRIBUTES section. Review the tags in each section, and revise the form so that all tags are defined.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-2975 fires when a tag-name defined in SCREEN is never used in ATTRIBUTES — per the
official guidance, this is the mirror case of a tag defined in the screen layout but not
associated with a column.
- A tag-name present in
SCREENbut not defined inATTRIBUTES, per the official guidance — the direct, only cause.
Solutions / Resolution
- Review the tags in each section, per the official guidance.
- Revise the form so that all tags are defined, per the official guidance, either by
adding the missing
ATTRIBUTESentry or removing the unused tag fromSCREEN.
Examples
A SCREEN tag missing from ATTRIBUTES
SCREEN
{
Order #: [ordnum]
Status: [status]
}
END
ATTRIBUTES
ordnum = order_id;
-- -2975: "status" appears in SCREEN but has no ATTRIBUTES entry
Corrected
ATTRIBUTES
ordnum = order_id;
status = order_status;
Diagnostic Checks
- Check every tag-name in
SCREENagainstATTRIBUTES, and add or remove entries so every tag is defined.
Related Errors / Related Topics
- -2955 — "The name field-tag is not a displayed field in this form." The mirror-image
error: a tag defined in
ATTRIBUTESbut missing fromSCREEN, rather than one present inSCREENbut missing fromATTRIBUTES.
A tag-name appears in SCREEN but has no corresponding ATTRIBUTES entry — add one, or
remove the unused tag.