Solved

How to Multi-thread an Oracle Form ??

Posted on 2004-09-01
7
839 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.

Join & Write a Comment

This article started out as an Experts-Exchange question, which then grew into a quick tip to go along with an IOUG presentation for the Collaborate confernce and then later grew again into a full blown article with expanded functionality and legacy…
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 shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
This video shows how to Export data from an Oracle database using the Original Export Utility.  The corresponding Import utility, which works the same way is referenced, but not demonstrated.

760 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