FRM-40507: ORACLE error: unable to fetch next query record.
Cause: One of the following:
1. Oracle Forms was unable to allocate a record buffer (as reported in a previous FRM-40900).
2. If you are connected to an non-Oracle datasource through ODBC, the cursor loses its position in the result set after a commit.
3. A fatal error occurred while trying to fetch the next query record.
Action: For 1, refer to FRM-40900. For 2, requery. For 3, contact your DBA.
Trigger: ON-ERROR