Informix Error -2044
-2044 At most one color attribute may be specified for each
field with each condition.Review this ATTRIBUTES statement; a problem exists near a COLOR attribute. Look for missing punctuation.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-2044 fires when an ATTRIBUTES statement specifies more than one COLOR attribute for the
same field under the same condition — per the official guidance, only one COLOR value is
allowed per field/condition combination.
- Two
COLORattributes specified for the same field under identical conditions, per the official guidance — the direct, only cause, often from a punctuation slip merging two attribute clauses.
Solutions / Resolution
- Review the statement for a
COLORattribute problem, per the official guidance, and check for missing punctuation that might have caused a duplicate specification.
Examples
Two COLOR attributes on the same field
ATTRIBUTES
status = order_status, COLOR = "red" COLOR = "blue";
-- -2044: two COLOR attributes for the same field/condition
Corrected
ATTRIBUTES
status = order_status, COLOR = "red";
Diagnostic Checks
- Check each field's
ATTRIBUTESclause for more than oneCOLORspecification under the same condition, and check nearby punctuation for a missing separator.
Related Errors / Related Topics
- -2021 — "An illegal color has been specified." A related
COLOR-attribute error, about an invalid color name rather than a duplicate specification.
A field has more than one COLOR attribute under the same condition — check for missing
punctuation and remove the duplicate.