Informix Error -1108
-1108 Record not in form.
The screen record that is named in an INPUT ARRAY or DISPLAY ARRAY statement does not appear in the screen form that is now displayed. Review the program source in conjunction with the form specification to see if the screen record names match.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-1108 fires when an INPUT ARRAY or DISPLAY ARRAY statement references a screen record name
that isn't present in the currently displayed form specification — per the official guidance,
this is a name mismatch between the program source and the form.
- A screen record name in the program that doesn't match any record in the form specification, per the official guidance — the direct, only cause.
- A form specification that was updated (a screen record renamed or removed) without updating the program source to match, or vice versa.
Solutions / Resolution
- Verify screen record names match between the program source and the form specification, per the official guidance, and correct whichever side is out of date.
Examples
A mismatched screen record name
-- form specification defines screen record "s_items"
-- program code:
INPUT ARRAY item_rows FROM scr_line_items.*
-- -1108: the form has no screen record named "scr_line_items"
Corrected
INPUT ARRAY item_rows FROM s_items.*
Diagnostic Checks
- Compare the screen record name in the program statement against the record names actually defined in the form specification.
Related Errors / Related Topics
- -1102 — "Field name not found in form." A related form-processing error, about an individual field name not resolving rather than a whole screen record.
- -1107 — "Field subscript out of bounds." A related screen-array error, about an out-of-range index rather than a mismatched record name.
A screen record name in the program doesn't match any record in the form specification — check both sides for the correct name.