Informix Error -3451: This form has no fields requiring data entry.
Cause and resolution
This form has no fields requiring data entry.
None of the fields in this form specification permit data entry; they are all marked as either LOOKUP or DISPLAYONLY without the ALLOWING INPUT keywords.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-3451 fires when an Add/Update operation is attempted on a form where no field permits data
entry — per the official guidance, every field is marked either LOOKUP or DISPLAYONLY
without the ALLOWING INPUT keywords.
- Every field in the form is
LOOKUPorDISPLAYONLYwithoutALLOWING INPUT, per the official guidance — the direct, only cause.
Solutions / Resolution
- Add
ALLOWING INPUTto at least one field that should accept data entry, consistent with the official guidance's identification of the missing keywords as the cause.
Examples
A LOOKUP field allowing input
ATTRIBUTES
cust_name = customer.name, LOOKUP = (customer.name), ALLOWING INPUT;
Diagnostic Checks
- Check the form specification for at least one field with
ALLOWING INPUT, and add it to whichever field should accept data entry.
Related Errors / Related Topics
No closely related error codes are cross-referenced for -3451 in this set yet.
No field in the form allows data entry — add ALLOWING INPUT to at least one LOOKUP or
DISPLAYONLY field that should accept it.