When form has a ora error, you can use the following method for query errors such as opening form encountered FRM-40735: WHEN-BUTTON_PRESSED exception: ORA-040631, enter database, enter oerr ORA 04063 [oratst2 @ oracletest ~] $ Oerr ORA 1, 0406304063,000 00, "% s has errors"
// * Cause: Attempt to execute a stored procedure or use a view that has
// Errors. For stored procedures, the problem cocould be syntax errors
// Or references to other, non-existent procedures. For views,
// The problem cocould be a reference in the view's defining query
// A non-existent table.
// Can also be a table which has references to non-existent or
// Inaccessible types.
// * Action: Fix the errors and/or create referenced objects as necessary.2. You can handle the error when you see it. In this example, the error occurs because the called package has a problem.