Forms 10.1.2 Event engine cycle flow diagram.

Dear Experts,

I have a desperate need to find a diagram that explains the way that Oracle Forms steps through the various triggers and events, which one starts when a form is opened and then the next and the next etc..

 I'm sure that there must be something out there as this is vital to understand where we need to put our code.

I'm also looking for the reason why, when I exit a form I get the following error: FRM-40350 Query caused no records to be retrieved. How can I prevent this error or possible catch it and suppress it?

Thanks again for your help.
Who is Participating?
jwahlConnect With a Mentor Commented:
there is a forms built-in for debugging: Tools --> Preferences --> Tab Runtime --> set checkbox "Debug Messages".
this will show you the name of every trigger before it is executed.

regarding FRM-40350: this may be a message of a previous query that appears to "late". search for EXECUTE_QUERY or KEY-EXEQRY in your form (Program --> Find and Replace PL/SQL) to find out what queries are set up in your form.
as workaround to suppress this message you can also increase the message level, e.g.

    v_msg_level NUMBER := :SYSTEM.MESSAGE_LEVEL; -- store old level
    :SYSTEM.MESSAGE_LEVEL := 25; -- suppress ALL messages
    -- your code ...
    :SYSTEM.MESSAGE_LEVEL := v_msg_level; --restore message_level
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.