Solved

How to Multi-thread an Oracle Form ??

Posted on 2004-09-01
7
868 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
  • 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

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.

Question has a verified solution.

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

Suggested Solutions

Truncate is a DDL Command where as Delete is a DML Command. Both will delete data from table, but what is the difference between these below statements truncate table <table_name> ?? delete from <table_name> ?? The first command cannot be …
From implementing a password expiration date, to datatype conversions and file export options, these are some useful settings I've found in Jasper Server.
This video explains at a high level with the mandatory Oracle Memory processes are as well as touching on some of the more common optional ones.
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.

825 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