FRM1005 An invalid code was encountered.

Explanation

Corrupted form: Every table structure in a form file has its own column types. The form loader waits for certain column types depending on the table type.

User response

Try to open and save again with exact same version of QMF that was used to create the form.