Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Cancel Query in Forms

Posted on 2001-08-10
3
Medium Priority
?
1,378 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
3 Comments
 
LVL 35

Accepted Solution

by:
Mark Geerlings earned 400 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

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

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

Background In several of the companies I have worked for, I noticed that corporate reporting is off loaded from the production database and done mainly on a clone database which needs to be kept up to date daily by various means, be it a logical…
This post first appeared at Oracleinaction  (http://oracleinaction.com/undo-and-redo-in-oracle/)by Anju Garg (Myself). I  will demonstrate that undo for DML’s is stored both in undo tablespace and online redo logs. Then, we will analyze the reaso…
This video shows, step by step, how to configure Oracle Heterogeneous Services via the Generic Gateway Agent in order to make a connection from an Oracle session and access a remote SQL Server database table.
This video shows how to configure and send email from and Oracle database using both UTL_SMTP and UTL_MAIL, as well as comparing UTL_SMTP to a manual SMTP conversation with a mail server.
Suggested Courses

886 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