Solved

Cancel Query in Forms

Posted on 2001-08-10
3
1,357 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 34

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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Join & Write a Comment

Suggested Solutions

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…
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…
Video by: Steve
Using examples as well as descriptions, step through each of the common simple join types, explaining differences in syntax, differences in expected outputs and showing how the queries run along with the actual outputs based upon a simple set of dem…
Via a live example, show how to take different types of Oracle backups using RMAN.

758 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

23 Experts available now in Live!

Get 1:1 Help Now