Informix Error -3765
-3765 Form image too large to fit in the screen window.
The screen image as defined in the form file is larger (either wider or taller) than the dimensions of the current window. If the current window is the main window, its size is set by the dimensions of the terminal in use. If the current window was opened with OPEN WINDOW, you should specify more rows or columns. Review the form file, and either reduce the size of the screen image or display it as a bigger window.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-3765 fires when the screen image defined in a form file is larger (wider or taller) than the
current window's dimensions — per the official guidance, the main window's size comes from the
terminal in use, while an OPEN WINDOW-created window's size is whatever was specified.
- The main window is too small for the form, sized by the terminal itself, per the official guidance — the first named cause.
- An
OPEN WINDOW-created window was specified with too few rows or columns, per the official guidance — the second named cause.
Solutions / Resolution
- If the main window is too small, resize the terminal.
- If the window was opened with
OPEN WINDOW, specify more rows or columns, per the official guidance. - Alternatively, review the form file and reduce the size of the screen image, per the official guidance.
Examples
Widening an OPEN WINDOW
OPEN WINDOW myform AT 1,1 WITH FORM "myform" ATTRIBUTE(BORDER)
Increase the row/column dimensions implied by the form, or open with WITH n ROWS, m COLUMNS
sized to fit the form's screen image.
Diagnostic Checks
- Check the current window's dimensions (terminal size for the main window, or the
OPEN WINDOWsizing) against the form's screen image size, and enlarge whichever is smaller.
Related Errors / Related Topics
- -3764 — "Screen too small. Must be at least 6 lines and 30 columns." A related window-sizing error, about the absolute minimum terminal size rather than the specific form's own screen image size.
The form's screen image doesn't fit in the current window — resize the terminal or the
OPEN WINDOW dimensions, or reduce the form's screen image.