Solved

Cancel Query in Forms

Posted on 2001-08-10
3
1,372 Views
Last Modified: 2007-12-19
what is the procedure behing cancel query. I use enter_query, execute_query for their corresponding purposes but when I use cancel_query it does not work. What should I use to cancel the query.
0
Comment
Question by:aqk139
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 35

Accepted Solution

by:
Mark Geerlings earned 100 total points
ID: 6372185
Try "exit_form".  Of course, you need to make sure the form is in enter-query mode at the time, otherwise it really will exit the form, and that probably is not what you want.
0
 
LVL 2

Expert Comment

by:santoshmathew
ID: 6372338
Hi,

If you are using Forms 4.5 you can set the environment variable FORMS45_NONBLK=Y in Unix.
For Windows this has to be set in the registry.

After this Cancel_query will show a dialog box when you execute the cancel_query built-in.

Regards.
 
0
 
LVL 4

Expert Comment

by:jtrifts
ID: 6372370
I usually use RAISE FORM_TRIGGER_FAILURE; or simply RETURN;

JT
0

Featured Post

Revamp Your Training Process

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action.

Question has a verified solution.

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

Cursors in Oracle: A cursor is used to process individual rows returned by database system for a query. In oracle every SQL statement executed by the oracle server has a private area. This area contains information about the SQL statement and the…
Checking the Alert Log in AWS RDS Oracle can be a pain through their user interface.  I made a script to download the Alert Log, look for errors, and email me the trace files.  In this article I'll describe what I did and share my script.
This video shows information on the Oracle Data Dictionary, starting with the Oracle documentation, explaining the different types of Data Dictionary views available by group and permissions as well as giving examples on how to retrieve data from th…
This video shows how to Export data from an Oracle database using the Datapump Export Utility.  The corresponding Datapump Import utility is also discussed and demonstrated.
Suggested Courses

615 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