Informix Error -1112
-1112 A form is incompatible with the current 4GL version. Rebuild your form.
The form file that is specified in an OPEN FORM statement is not acceptable. Possibly it was corrupted in some way, or it was compiled with a version of the Form Compiler that is not compatible with the version of the 4GL compiler that compiled this program. Use a current version of the Form Compiler to recompile the form specification.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-1112 fires when the form file referenced by OPEN FORM is incompatible with the running 4GL
version — per the official guidance, this is typically because the form is corrupted or was
compiled with an incompatible version of the Form Compiler.
- A form compiled with an older or newer, incompatible Form Compiler version, per the official guidance — the direct, named cause.
- A corrupted form file, per the official guidance's other named possibility.
Solutions / Resolution
- Recompile the form specification using the current Form Compiler version, per the official guidance — this is the documented fix.
Examples
Rebuilding the form
$ form4gl order_entry
Recompiling produces a fresh, version-compatible .frm file from the .per source.
Diagnostic Checks
- Check which Form Compiler version produced the existing
.frmfile, relative to the 4GL runtime version in use, and recompile if they're mismatched.
Related Errors / Related Topics
- -1110 — "Form file not found." A related
OPEN FORMerror, about the form file being missing entirely rather than found but incompatible. - -1111 — "Field table offset out of bounds." A related internal error, plausibly connected to a corrupted or incompatible form as well.
The form file is incompatible with the running 4GL version — recompile it with the current Form Compiler.