Flushes the current block, opens a query, and fetches a number of selected records. If there are changes to commit, Oracle Forms prompts the operator to commit them before continuing EXECUTE_QUERY processing.
PROCEDURE EXECUTE_QUERY;
PROCEDURE EXECUTE_QUERY
(keyword_one VARCHAR2);
PROCEDURE EXECUTE_QUERY
(keyword_two VARCHAR2);
PROCEDURE EXECUTE_QUERY
(keyword_one VARCHAR2,
keyword_two VARCHAR2);
PROCEDURE EXECUTE_QUERY
(keyword_one VARCHAR2,
keyword_two VARCHAR2,
locking VARCHAR2);
Built-in Type restricted procedure
Enter Query Mode yes
Oracle recommends that you use the ALL_RECORDS and FOR_UPDATE parameters with caution. Fetching a large number of rows could cause a long delay. Locking a large number of rows at once requires many resources.
/*
** Built-in: EXECUTE_QUERY
** Example: Visit several blocks and query their contents,
** then go back to the block where original block.
*/
DECLARE
block_before VARCHAR2(80) := :System.Cursor_Block;
BEGIN
Go_Block('Exceptions_List');
Execute_Query;
Go_Block('User_Profile');
Execute_Query;
Go_Block('Tasks_Competed');
Execute_Query;
Go_Block( block_before );
END;