Informix Error -2992
-2992 The display label name has already been used.
The forms compiler indicates that name has been defined twice. These names must be defined uniquely in the form specification. Review all uses of the name to see if one of them is incorrect.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-2992 fires when the same display label name is defined twice in the form specification — per the official guidance, these names must be defined uniquely.
- A display label name defined more than once, per the official guidance — the direct, only cause.
Solutions / Resolution
- Review all uses of the name to see if one of them is incorrect, per the official guidance.
Examples
A duplicate display label
ATTRIBUTES
cust_name = customer.name;
cust_name = supplier.name;
-- -2992: "cust_name" is defined twice
Corrected
ATTRIBUTES
cust_name = customer.name;
supp_name = supplier.name;
Diagnostic Checks
- Check the form specification for the same display label name used more than once, and rename or remove the duplicate.
Related Errors / Related Topics
- -2984 — "The table identifier table is defined more than once." The same
defined-more-than-once pattern applied to table identifiers in
TABLESrather than display labels. - -2985 — "The table identifiers name1 and name2 represent the same table." A related
TABLES-section duplication error, about two different names referring to the same table.
A display label name is defined more than once — rename or remove the duplicate.