Starting multiple queries in different modules at the same time

Hi @ all,
i´ve built a forms mdi application with forms 10g (10.1.2.3).
When I open a form (from the menu form) and start a database query the whole mdi application is blocked until the query finishes.
Is there a way to avoid blocking the whole application so that i am able to start another form and do some work while the other running module is still querying (Maybe starting each module in its own (java) thread).
Thank you,
Thomas

Non-blocking cannot be set programatically. Plus, it only gives you the option to cancel the query, not open another form. From the Help:
Interaction Mode property
Specifies the interaction mode for the form module. Interaction mode dictates how a user can interact with a form during a query. If Interaction Mode is set to Blocking, then users are prevented from resizing or otherwise interacting with the form until the records for a query are fetched from the database. If set to Non-Blocking, then end users can interact with the form while records are being fetched.
Non-blocking interaction mode is useful if you expect the query will be time-consuming and you want the user to be able to interrupt or cancel the query. In this mode, the Forms runtime will display a dialog that allows the user to cancel the query.
You cannot set the interaction mode programmatically, however, you can obtain the interaction mode programmatically using the GET_FORM_PROPERTY built-in.

Similar Messages

  • Can anybody explain how to print multiple copies of different documents at the same time as at the moment I have to open each individually and press print

    Can anybody explain how to print multiple copies of different documents at the same time as at the moment I have to open each individually and press print

    is this a windows in bootcamp question ?

  • How do I view multiple images from different projects at the same time?

    Hello
    I've been trying to find the answer in the user manual, but no luck so far.
    I did find how to open 2 projects at once, but I can only see one image at a time in the viewer and I have to keep going back and forth between projects to compare images. (These are scans of old photos and I want to eliminate the ones that are poorer quality, so need to compare numerous images from 2 sets of scans)
    How can I view an image from one project at the same time as an image from another? I know that it can be done in the same project by apple-clicking the second, third etc image, but this doesn't work if the images are from different projects.
    Thank you
    Elizabeth

    Thank you again Tony
    I've now created an album, independent of the projects, and dragged test images into it and it does just the job I needed. Now i just need to keep my brain sorted with which ones are which while i'm working
    Elizabeth

  • My MacBook is almost two years old and has started running really slow. It gets bogged down when it is running different programs at the same time, like Safari and Pages. It didn't react this way until recently. Any advice would be very welcome.

    My MacBook is almost two years old and has started running really slow. It gets bogged down when it is running different programs at the same time, like Safari and Pages. It didn't react this way until recently. Any advice would be very welcome.

    Launch Disk Utility and select the icon of the internal drive (the drive itself, not the volume icons below it.) Is the SMART status "Verified?" If not, replace the drive immediately. If the status is "Verified," the drive may still be failing. Back up all data, if you haven't already done so. Reinstall Mac OS X, then run Software Update. Test with all wired peripherals disconnected. If it's still slow, you have a hardware problem.
    Mac OS X 10.6 Help: Reinstalling Mac OS X

  • Controller different Input in the same time in a real Scenario...(SIMULATION IN 2 TANKS CONTROLLER BY PCB BOARD)

    Hi! I really need help....
    I´m doing a simulation where I can controller the input and output with one external PCB, all is working properly (the communication) but my problem is, I can´t open where ever I want the different valves...I mean, I must wait until the process is finish...
    The program is working with diferents process like this:
    §Process 0:
        Programinitialization. Tanks and pipes in zero state. Control for this state with  “pump on” button.
    §Process 1:
        §State:
             “ Pump on ” button istrue: Pump 1 isrunning, andTank 1 starts to be filled with water.
             “ Pump on ” button is false: nothing happen, go to the next process
    §Process 2:
         This process is controlled from the “Control 1”button with is who control “Valve 1” for the discharge of water from tank 1 to tank 2.
    §Process 3:
          This processiscontrolledfromthe “Control 2 ”button with is who control “Valve 2” for the discharge of water from tank 1 to tank 2 if “Control 3 ” button is close or if “Control 3 ”button is open the water go out from the loop.
    §Process 4:
          This processgiveyoutheoptiontocome back totheprocess 1 ortotheprocess 2 dependingofthestate in process 3.
    So my problem is I want  run different processes in the same time, without having to wait out the current process is running....
    this look like this:
    and with the differents states...so I was trying to use a Statechart for try to improve the simulation....
    like this:
    But when I was tried to implement in labview with the statechart module i can't find the way to interconexión with this new module...
    Because i need two differents regions...but i can't use the connexion between them....
    Some new idea, help....all is welcome!!!
    Thanks in advance.
    Elena

    Buenos días Alvaro,
    Si, mejor en español
    Si, me has entendido bien, exactamente es lo que me gustaria. 
    Empece por mi cuenta con labview y hay muchas cosas que se me escapan... Voy a implementar la máquina de estados a ver si asi soluciono el problema.
    Muchas gracias!
    Un saludo!

  • How do you stop multiple Youtube videos from playing at the same time?

    As of a few days ago, when I click on a youtube video, as the commercial begins to play, you can begin to hear multiple/different commercials playing at the same time. After the commercials, the same issue occurs with the main video--multiple videos are being played at the same time and are not in sync. I've updated all my plug ins and have tried the suggestion posted in the forum provided in the link below in which someone else has expressed the same issue, but nothing has worked so far. Does anyone know what can be done?
    http://productforums.google.com/forum/#!topic/youtube/5Lnikma4UqM

    Are you loading those videos as Flash or HTML5? It is possible to prevent videos from playing until you click something with Flashblock for Flash or Stop Tube HTML5 for HTML5. You can also stop the commercials with Adblock Plus with an Easylist subscription.
    * https://addons.mozilla.org/en-US/firefox/addon/adblock-plus/
    * https://addons.mozilla.org/en-US/firefox/addon/flashblock/
    * https://addons.mozilla.org/en-US/firefox/addon/stop-tube/

  • Is it possible to realize two different processes in the same time with TDMS?

    Hello all,
    we have one TDMS but a lot of workstreams. Is it possible that 2 different workstreams in the same time realize anonymization in TDMS?
    Thanks in advance!!!
    Ilkin Mammadov

    Hello Anita,
    I am sorry.I mean we have a lot of projects (for example Procurement, Finance, Logistics, etc) and each of them wants to anonymize. But it is existing just one TDMS. Can these projects start with anonymization in the same time or they have to wait till one of projects finished anonymization?
    Thanks in advance!
    Best regards,
    Ilkin

  • Time Division Multiplexing and Processing Different Loops at the same time

            Hi, I am new in Labview so you may find my questions too silly, sorry about that
    I want to design an interface to control the test&measurement devices remotely. I have two desks and there are several devices on these desks. The real problem is to use two different devices at the same time. To do this I heard that I can use time division multiplexing. But I couldn't find enough information about it in Labview. Another advice I heard was to use a matrice and hold the on/off state of the devices in this matrice. 
    Where should I start the design to create such a system? Do you have any advices? Thank you in advance.
    My basic GUI is attached.
    Attachments:
    InterfaceAli.zip ‏42 KB

    As Mike pointed out you cannot communicate in parallel on the GPIB bus - unless you have separate buses for each instrument - and that defeats the purpose of a bus. I am not sure about LXI.
    With regard to your VI:
    1. Do not use global variables to pass your data around.
    2. You should use the Array data type, not the Matrix data type. The Matrix data type in LabVIEW should only be used for matrix mathematical operations (linear algebra) which cannot be easily performed on the array data type. You have many more tools in LV to work with arrays.
    3. The Event structure needs to be in a parallel loop. This is basic data flow. If you do not understand this concept, get some training, either though the online tutorials or through a class.
    4. Use Value Changed events and place the button terminals inside the event case for that control.
    5. The parallel loops need to have a Wait or some other function which causes a delay. Otherwise, the first one to start executing could consume all available processor resources. These are called "greedy loops." 
    6. Use integer data types for case structure selector inputs. Floating point values are coerced to integers at the inputs. If the values resulted from calculations, unexpected rounding effects may occur, resulting in the wrong case being selected. In some cases using type defed enums may be even better. The underlying data is integer and the enum item names show up in the case selector labels, helping to document what the case does or why it was selected.
    7. Remove the timeout case from the event structure since it never executes. Also avoid Use Default if Unwired on the terminal with your matrix (array) data. You never have a situation where an empty array is appropriate.
    Before going any further with the program questions, you need to carefully define your requirements.  How many instruments will you have? How many can be active at one time? What kinds of communication between the program and the instruments is required? This includes commands to the instrument, data returned from the instrument, error handling, and timing requirements. What will be done with the data? Display, save to file, use to automatically control another device? What safety requirements or constraints need to be met? Once you have a good requirements document, then you can begin to determine what kind of program architecture is best suited to meet the needs.
    I suspect that you may be making some things much more complicated than they need to be while ignoring other important issues.
    Lynn

  • Same query different timings , different sessions at the same time

    I am running exactly the same query from 2 different sessions almost simultaneously and in one session it is taking 2 seconds and in the other it is taking 20 seconds. The explain plans in both the sessions (by set autotrace on) are exactly the same. The timing is almost same for succesive runs of the query in the same sessions. That is when I run the query again in the "slow session" it is always around 20 seconds and when I run the query again in the "fast session" it is always fast. The queries are being run within a few seconds of each other so the load on the database is almost same.
    My hunch is that it is a database parameter that needs to be changed to solve this problem, can someone guide me with this ....which parameters I should ask our DBAs to adjust ? Our database is Oracle 10G.
    Regards
    Amitabha

    Duplicate thread
    Same query different timings , different sessions at the same time
    Gints Plivna
    http://www.gplivna.eu

  • Collecting data from advantech-usb4704 with two different apps at the same time

    I wonder if I can access to Advantech-4704 with two different applications at the same time?
    I use this block in my vis.
    I have enough ports, but inputs are needed in completely different applications. Do I have to close one of them or can they run simultaneously?
    Thankyou!

    Dear gtu,
    as nathand said, usually it is not supported to access the same physical resource simultaneously from multiple programs. In case of DAQmx for instance, you will get an error message which says that the resource is already reserved. I suppose the same would happen with your driver, however it might be worth a try.
    One workaround could be however if you revise your applications and merge the codes if it is possible so that no concurent resource allocation takes place.
    Best Regards,
    Adam Cseh
    Applications/Systems Engineer
    National Instruments

  • How Can I generate 2 different WaveForm in the same time

    Hello,
    I use a NI 6733 card and measurement studio 8 with MFC class.
    I would like to generate 2 different waveform in the same time on 2 diffrent analog output channel.
    I would like to know how can i do that bescause I succeed to generate one wafeform on one channel but not the second.
    I would like to create 2 task one per analog output channel and waveform and launch the task in the same time.
    I use the buffer FIFO and I think I have a probleme to share the buffer between the to different channel.
    thank you for your attention.

    Hello,
    This corresponds of the third case detailed in this KnowledgeBase. You have to use one task with two channel, and feed it with your two independant waveforms (at the same sampling rate).
    Cordially,
    .mrLeft{float:left} .mrInfo{border-left:solid 1px #989898;font-size:x-small;color:#989898}
    Mathieu R.  
      CTD - Certified TestStand Developer / Développeur TestStand Certifié  
      CLAD - Certified LabVIEW Associate Developer  

  • Can i open 2 windows under 2 different profiles at the same time?

    Both me and my sister use facebook at the same time but we keep having to log out, i was wondering if i could open 2 windows (i have 2 profiles) under different profiles at the same time?

    1) Check the firmware on router under status tab.....
    2) Uncheck "Block WAN request" under security tab .... click save settings
    3) If required forward ports under "Applications & gaming" tab  .....
    See if above settings work ....

  • Control two different parameters at the same time

    Two motors were connected each other rigidly. One motor controlled torque and the other motor controlled speed. I generated some torque and speed data which represented one cycle of motion from a motor simulation. I like to send these two different data sets (torque and speed) to two different motors at the same time. Torque data sends to one motor and speed data sends to the other motor to see the response of the load profile. In order to do this, I thought about using multithread, but I am not sure it will work for this application. Usually multithreading delay the CPU time so the overall control process might be delayed, right? If you have better idea, please let me know.

    If you are using one motion controller to control both motors, you will probably run into problems if you try to use multithreading on the PC. However, you can execute up to 10 programs (threads) at a time, in addition to host communication, using on-board programming. For more information on on-board programming please refer to the following tutorial: Developer Zone Tutorial: On-board Programming in FlexMotion
    Best wishes!
    Dawna P.
    Applications Engineer
    National Instruments

  • Why can't I rotate multiple points in puppet warp at the same time?

    You can rotate single points in puppet warp, and you can shift+click to select multiple points and move them at the same time but I see no way to rotate multiple points as one group using puppet warp.  This would be a very helpful feature I think should be added.

    Please post Bug Reports and Feature Requests over at
    http://feedback.photoshop.com/photoshop_family/

  • Can I display different tables at the same time?

    Hello all,
    This is probably a newbie question but is it possible to display different tables at the same time? I'm using SQL Developer 1.5.5 and I seem to be unable to display more than one table at the same time, whenever i chose to open another table, the old table disappears. In other words, the table display just switches to your new choice in the table list navigator. Any ideas anyone?
    Regards,
    wf

    Menu item "Tools -> Preferences -> Database -> ObjectViewer Parameters"; make sure "Automatically Freeze Object Viewer Windows" is checked.
    HTH.
    Ed. H.

Maybe you are looking for

  • How to adjust table order in OBIEE.

    now i design logic model in admin tool. tableA join tablleB (tableA.id = tableB.user_id) after i design it, i drop tableA.id, tableB.user_id) into answer. then i check sql log in analytics web applications. the sql is like below, my questions is if i

  • Can I buy a MacBook Pro Retina one month before I travell?

    I will have a trip no NYC and I wanna buy a macbook pro retina display 25 dyas before my trip because i dont wanna exceed my credit card limit. Can the macbook pro stay 25 days at the Apple Store? Thank you!!!

  • Address book does not launch and does not sync to iphone

    When I had upgraded to 10.5.4, the permissions from my user profile got corrupted. Since then I have created another profile and rebuilt permissions. Now the address book is not launching, it just bounces in the dock and nothing happens. Also when I

  • Missing workspace folder

    So i was going to install the output module. I noticed that i don't have the workspace folder. What should I do? I really want and need output!

  • What line of code do I need to use to run flashplayer offline in a HTML presentation?

    I have a client who has had an HTML presentation built that uses Flashplayer when online, using the following lines of code: <!-- flash embed part -->                <div id="flashPreview">                  <a href="http://www.adobe.com/go/getflashpl