Solved

Forms 10.1.2 Event engine cycle flow diagram.

Posted on 2006-10-19
3
457 Views
Last Modified: 2013-12-11
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.
0
Comment
Question by:Cosine_Consultants
3 Comments
 
LVL 12

Accepted Solution

by:
jwahl earned 500 total points
ID: 17786792
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.

DECLARE
    v_msg_level NUMBER := :SYSTEM.MESSAGE_LEVEL; -- store old level
DECLARE
    :SYSTEM.MESSAGE_LEVEL := 25; -- suppress ALL messages
    EXECUTE_QUERY;
    --
    -- your code ...
    --
    :SYSTEM.MESSAGE_LEVEL := v_msg_level; --restore message_level
    --
END;
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Truncate is a DDL Command where as Delete is a DML Command. Both will delete data from table, but what is the difference between these below statements truncate table <table_name> ?? delete from <table_name> ?? The first command cannot be …
Configuring and using Oracle Database Gateway for ODBC Introduction First, a brief summary of what a Database Gateway is.  A Gateway is a set of driver agents and configurations that allow an Oracle database to communicate with other platforms…
This video shows how to copy a database user from one database to another user DBMS_METADATA.  It also shows how to copy a user's permissions and discusses password hash differences between Oracle 10g and 11g.
Via a live example, show how to restore a database from backup after a simulated disk failure using RMAN.

895 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now