Informix Error -3120
Cause and resolution
Error in field.
The data that is entered into the current field is not appropriate for the data type of the field.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-3120 fires when data entered into the current field isn't appropriate for the field's data type — per the official guidance, this is a generic data-entry validation error.
- Entered data that doesn't match the field's data type (e.g. letters in a numeric field, an invalid date), per the official guidance — the direct, only cause.
Solutions / Resolution
- Re-enter data appropriate for the field's data type.
Examples
Entering invalid data for a numeric field
Quantity: [abc]
-- -3120: "abc" is not valid for an INTEGER field
Corrected
Quantity: [10 ]
Diagnostic Checks
- Check the field's declared data type, and confirm the entered value matches it (correct numeric format, valid date, etc.).
Related Errors / Related Topics
No closely related error codes are cross-referenced for -3120 in this set yet.
The entered data doesn't match the current field's data type — re-enter a value that does.