Informix Error -3020: The table table-name is not in the database. Build your form again.
Cause and resolution
The table table-name is not in the database. Build your form again.
A table that is listed in the TABLES section of the form cannot be found. Review the DATABASE statement to ensure that the form is using the correct database. If so, and if the table name is spelled as you intended, the table has been dropped or renamed. You can use Informix SQL to check table names under Info selection in the Tables menu. Revise the form to use the correct name.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-3020 fires at runtime when a table listed in a form's TABLES section can no longer be found
in the database — per the official guidance, this happens if the form is using the wrong
database, or the table has been dropped or renamed since the form was compiled.
- The form's
DATABASEstatement points to the wrong database, per the official guidance — the first named cause. - The table was dropped or renamed since the form was compiled, per the official guidance — the second named cause.
Solutions / Resolution
- Review the
DATABASEstatement to ensure the form is using the correct database, per the official guidance. - Use Informix SQL's Info selection in the Tables menu to check table names, per the official guidance.
- Revise the form to use the correct name, and rebuild it, per the official guidance.
Examples
Checking the actual table names
SELECT tabname FROM systables WHERE tabtype = 'T';
Diagnostic Checks
- Check the form's
DATABASEstatement, and confirm the table still exists (or find its new name) via Informix SQL's Tables menu.
Related Errors / Related Topics
- -3030 — "The column column-name is not in the database." A related runtime schema-mismatch error, about a missing column rather than a missing table.
A table listed in the form's TABLES section is no longer in the database — check the
DATABASE statement and whether the table was dropped or renamed, then rebuild the form.