Solved

How to Multi-thread an Oracle Form ??

Posted on 2004-09-01
7
883 Views
Last Modified: 2013-12-12
Hi,

When I query a block in my Form, the form hangs until the query returns the data. Now this might be default Forms behaviour but is there an option to 'multi-thread' the Form so that the block query runs in the backgorund, a bit like Excel where it doesn't lock the application.

Any ideas ?

CC
0
Comment
Question by:comradec
[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
  • 2
7 Comments
 
LVL 22

Accepted Solution

by:
Helena Marková earned 125 total points
ID: 11960575
It cannot be done.
You can avoid such problems by setting Query All Records block property to NO.
Also you can create a block based on stored procedure.
0
 
LVL 8

Assisted Solution

by:sapnam
sapnam earned 125 total points
ID: 11978746
You can use the SET_APPLICATION_PROPERTY built-in to indicate to the user that the query is processing so that he does not get the feeling that the application has hanged.  Your KEY-EXEQRY will be like

SET_APPLICATION_PROPERTY(cursor_style,'BUSY');
synchronize;
MESSAGE('Executing query, please wait ....',NO_ACKNOWLEDGE);
synchronize;
EXECUTE_QUERY;
SET_APPLICATION_PROPERTY(cursor_style,'DEFAULT);
synchronize;
clear_message;
synchronize;
0
 
LVL 8

Expert Comment

by:sapnam
ID: 12161839
Actually, the question was answered by Henka.  My post was a supplement to that. So I do not think I deserve to get all the points.
0
 

Author Comment

by:comradec
ID: 12162397
ok, thanks anyway, i do the busy cursor thing anyway. I wanted a multi threaded process....

cc
0

Featured Post

Salesforce Has Never Been Easier

Improve and reinforce salesforce training & adoption using WalkMe's digital adoption platform. Start saving on costly employee training by creating fast intuitive Walk-Thrus for Salesforce. Claim your Free Account Now

Question has a verified solution.

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

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…
Shell script to create broker configuration file using current broker Configuration, solely for purpose of backup on Linux. Script may need to be modified depending on OS-installation. Please deploy and verify the script in a test environment.
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 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.

730 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