Solved

Cancel Query in Forms

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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
SQL2016 to ORACLE11G linked-server 6 79
plsql job on oracle 18 109
pl/sql parameter is null sometimes 2 39
Query for non-UTF8 characters in a column in Oracle 11 39
I remember the day when someone asked me to create a user for an application developement. The user should be able to create views and materialized views and, so, I used the following syntax: (CODE) This way, I guessed, I would ensure that use…
How to Unravel a Tricky Query Introduction If you browse through the Oracle zones or any of the other database-related zones you'll come across some complicated solutions and sometimes you'll just have to wonder how anyone came up with them.  …
This video explains at a high level about the four available data types in Oracle and how dates can be manipulated by the user to get data into and out of the database.
This videos aims to give the viewer a basic demonstration of how a user can query current session information by using the SYS_CONTEXT function

738 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