Informix Error -1308: Cannot delete row - it has no data.
Cause and resolution
Cannot delete row - it has no data.
You pressed the Delete Row function key (usually F2, but see the operating instructions that the program author supplied) in an empty row. Nothing was deleted.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-1308 is the 4GL-program equivalent of -1127: it fires when the user presses the Delete Row
function key (typically F2) on an already-empty row during INPUT ARRAY — per the official
guidance, this is the same underlying condition, surfaced under 4GL specifically.
- Delete Row pressed on a row that has no data, per the official guidance — the same direct cause as -1127; there's nothing to delete.
Solutions / Resolution
- Position on a row that actually has data before pressing Delete Row, per the official guidance — see -1127 for the full detail.
Examples
N/A
This is the 4GL-program wording of -1127's condition — see -1127's examples for the underlying mechanism.
Diagnostic Checks
- Confirm the current row has data before attempting to delete it, per -1127's diagnostic approach.
Related Errors / Related Topics
- -1127 — "Cannot delete row - it has no data." The non-4GL wording of this same empty-row-delete condition.
- -1157 — "No more rows." The 4GL/RF handheld-terminal variant the official text cross-references alongside -1127.
The 4GL-program wording of -1127's empty-row-delete condition — see -1127 for the full detail.