Re-Query After Exiting

Hello,
I have a form formA where I select an item from the form and based on the item it navigates to another form called formB, corresponding to the item. I make changes in formB and does commit. After commit and it comes back to formA.
I need to re-query after making changes in formB and it should reflect in formA after exiting.
Which function I should use to achieve this functionality?

Hi!
If you use the call_form build-in to call formB, you can query your block in formA
direct after calling the formB like:
declare l_cur_record pls_integer := :system.cursor_record;
begin
call_form ( 'formB', hide, no_replace ... );
go_block ( 'your_block' );
execute_query;
go_record ( l_cur_record );
end;if you use the open_form build-in to call formB, you have to use
a when-window-actived trigger in formA like:
declare l_cur_record pls_integer := :system.cursor_record;
begin
go_block ( 'your_block' );
execute_query;
go_record ( l_cur_record );
end;Regards
Edited by: Magoo on 18.10.2009 13:49

Similar Messages

  • To execute the query after getting connected to db from a unix shell script

    How the variable "output" can be used in the sql query after getting connected to database.
    Code:
    #!/bin/bash
    sort shipments | uniq > test1.txt
    sed "s/.*/'TESCO.&',/;$ s/,//" test1.txt | paste -s -d '' > output
    sqlplus glo/glo@tcot
    select * from xx where column_name in ($output)
    In this case, am getting connected to database, but cursor is waiting at sql prompt, with out executing the above select query.
    Please help.

    Try something like:
    #!/bin/bash
    sort shipments | uniq > test1.txt
    sed "s/.*/'TESCO.&',/;$ s/,//" test1.txt | paste -s -d '' > output
    sqlplus glo/glo@tcot << EOF
    WHENEVER SQLERROR EXIT 1;
    WHENEVER OSERROR EXIT 1;
    set serveroutput on
    declare
    v_data varchar2(100) := NULL;
    BEGIN
    select col_name into v_Data from xx where column_name in ('$output')
    and rownum < 2;
    dbms_output.put_line(v_Data);
    end;
    exit
    EOF

  • Pocket slow down after exit application

    Hi,
    I have an application that runs normally in a Pocket PC, Windows Mobile 2003, 64 MB RAM. But when i exit application, the Pocket almost freezes ! Sometimes I need to inicialize Pocket again.
    I exit my application this way:
                ConnectDB.disconnect(); 
                try{
                    Config.getClientSocket().getSocket().close();  //Finish Socket connection with server application
                }catch(IOException e){
                    MsgDialog msg = new MsgDialog(this, true, "Falha ao encerrar conex�o ", MsgDialog.MSG_WARNING);
                    msg.dispose();
                new Thread(){  
                    public void run(){
                        try{
                            sleep(400);
                        }catch(InterruptedException e){
                }.start();
                System.exit(0);           I have two threads I've created running at this moment. Could it be a problem for Pocket performance after exit application ?
    Thanks !

    Hi,
    I have an application that runs normally in a Pocket PC, Windows Mobile 2003, 64 MB RAM. But when i exit application, the Pocket almost freezes ! Sometimes I need to inicialize Pocket again.
    I exit my application this way:
                ConnectDB.disconnect(); 
                try{
                    Config.getClientSocket().getSocket().close();  //Finish Socket connection with server application
                }catch(IOException e){
                    MsgDialog msg = new MsgDialog(this, true, "Falha ao encerrar conex�o ", MsgDialog.MSG_WARNING);
                    msg.dispose();
                new Thread(){  
                    public void run(){
                        try{
                            sleep(400);
                        }catch(InterruptedException e){
                }.start();
                System.exit(0);           I have two threads I've created running at this moment. Could it be a problem for Pocket performance after exit application ?
    Thanks !

  • In FF29.0 bookmarks on the menu bar stop working correctly after exiting 'Customize': has anyone else noticed this?

    Shortly after installing FF29.0 I noticed that the bookmarks menu from the 'Menu Bar' - NOT the new one that appears on the right of the screen - was not working correctly: specifically, when right-clicking on a bookmark to look for 'Open in a New tab' all the options were greyed out and I now realize that this occurs after exiting the 'Customize' screen, which effect I have consistently duplicated several times now; to restore functionality I have on each occasion had to close and re-open Firefox. This error does not appear to occur with the new bookmark menu that is associated with the bookmark icon at the top right of the screen. Has anyone else noticed this error?
    (Personally, I prefer the bookmark menu from the menu bar, which incidentally I find easier to read than the new one and I like menu bars anyway.)
    Many thanks.

    Thank you for your input. If you have more input on the new features please check out [input.mozilla.org]
    The bookmar bar is still available with the add on bar add on. Check it out in [addons.mozilla.com]

  • Can't work with the Query after I save a 3.5 Query in 7.0 Query Designer

    Hello,
    my Problem is, I open a 3.5 Query in a 7.0 Query Designer. Then I save as another name. When i Open the Query
    i can't change things... WHY ? A Standart Transport is OK in RSA1, Transport, BexTransport. all ok..
    can't work with the Query after I save a 3.5 Query in 7.0 Query Designer
    Best Regadrs

    Hi,
    I cant click on it. It is grey..
    I open the 3.x Query in a 7.0 Query Designer and save as another name.. Then I try to open it with the 7.0 tool. The Query is displayed. But I cant change something...
    thnx

  • Heavu CPU Utilization of Dictionary Query - After 9i to 10g Upgrade

    Hi Friends,
    We have migrated our production DB from Oracle 9i(Windows) to Oracle 10g(AIX) and after that a heavy cpu utilization query is coming frequently and hence many timeouts are happening in the application.
    Application is connecting to the database through Java Application (JDBC).
    Once the application service is started, below query is invoked and CPU takes around 20% continuously.
    The interesting thing is this query is not owned by the application schema but by SYS and it's invoked from Application Schema.
    We have raised an SR but still no luck.
    Any help will be very much appreciated.
    SELECT -- Packaged procedures with no arguments package_name AS procedu
    re_cat, owner AS procedure_schem, object_name AS procedure_name, NULL
    , NULL, NULL, 'Packaged procedure' AS remarks, 1 AS procedure_type
    FROM all_arguments WHERE argument_name IS NULL AND data_type IS NULL AN
    D package_name LIKE :3 ESCAPE '/' AND owner LIKE :4 ESCAPE '/' AND obje
    ct_name LIKE :5 ESCAPE '/' UNION ALL SELECT -- Packaged procedures with a
    rguments package_name AS procedure_cat, owner AS procedure_schem, obj
    ect_name AS procedure_name, NULL, NULL, NULL, 'Packaged procedure'
    AS remarks, 1 AS procedure_type FROM all_arguments WHERE argument_name IS
    NOT NULL AND position = 1 AND position = sequence AND package_name L
    IKE :3 ESCAPE '/' AND owner LIKE :4 ESCAPE '/' AND object_name LIKE :5
    ESCAPE '/' UNION ALL SELECT -- Packaged functions package_name AS proce
    dure_cat, owner AS procedure_schem, object_name AS procedure_name, NU
    LL, NULL, NULL, 'Pa
    Regards,
    Savad

    Pl do not post duplicate threads - Heavy CPU Utilization of Dictionary Query - After 9i to 10g Upgrade
    Srini

  • Sum of the sql query after a control break

    Hi all,
    I need some help about getting the final sum of the sql query after doing a control break in a dynamic report, ( the control break make me the sum of each report but didn't leave me the sum of all the query)
    Thanks in andvance for your help !!
    Eric

    Have a look at the text_io package:
    http://www.oracle.com/webapps/online-help/forms/10g/state?navSetId=_&navId=3&vtTopicFile=f1_help/oraini/c_text_io.html&vtTopicId=
    cheers

  • Keep weblogic admin server and managed server running after exiting PUTTY

    How do i keep my managed servers and admin servers running on SOLARIS (unix) boxes even after exiting putty and starting them? Do i need to create like a cron job or something?

    *(after running nohup ./startWebLogic.sh i get Sending output to nohup.out and hangs there)*
    out put from nohup.out =>
    JAVA Memory arguments: -Xms256m -Xmx512m -XX:MaxPermSize=256m
    WLS Start Mode=Production
    CLASSPATH=/usr/Oracle/Middleware/patch_wls1034/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/usr/Oracle/Middleware/patch_ocp360/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/d/ct0/home/shahs06/JAVA/jdk1.6.0_25/lib/tools.jar:/usr/Oracle/Middleware/wlserver_10.3/server/lib/weblogic_sp.jar:/usr/Oracle/Middleware/wlserver_10.3/server/lib/weblogic.jar:/usr/Oracle/Middleware/modules/features/weblogic.server.modules_10.3.4.0.jar:/usr/Oracle/Middleware/wlserver_10.3/server/lib/webservices.jar:/usr/Oracle/Middleware/modules/org.apache.ant_1.7.1/lib/ant-all.jar:/usr/Oracle/Middleware/modules/net.sf.antcontrib_1.1.0.0_1-0b2/lib/ant-contrib.jar:/usr/Oracle/Middleware/wlserver_10.3/common/derby/lib/derbyclient.jar:/usr/Oracle/Middleware/wlserver_10.3/server/lib/xqrl.jar
    PATH=/usr/Oracle/Middleware/wlserver_10.3/server/bin:/usr/Oracle/Middleware/modules/org.apache.ant_1.7.1/bin:/d/ct0/home/shahs06/JAVA/jdk1.6.0_25/jre/bin:/d/ct0/home/shahs06/JAVA/jdk1.6.0_25/bin:/usr/sbin:/usr/bin:/usr/local/bin:/d/ct0/home/shahs06/JAVA/jdk1.6.0_25/bin
    * To start WebLogic Server, use a username and *
    * password assigned to an admin-level user. For *
    * server administration, use the WebLogic Server *
    * console at http://hostname:port/console *
    starting weblogic with Java version:
    java version "1.6.0_25"
    Java(TM) SE Runtime Environment (build 1.6.0_25-b06)
    Java HotSpot(TM) 64-Bit Server VM (build 20.0-b11, mixed mode)
    Starting WLS with line:
    /d/ct0/home/shahs06/JAVA/jdk1.6.0_25/bin/java -server -d64 -Xms256m -Xmx512m -XX:MaxPermSize=256m -Dweblogic.Name=AdminServer -Djava.security.policy=/usr/Oracle/Middleware/wlserver_10.3/server/lib/weblogic.policy -Dweblogic.ProductionModeEnabled=true -da -Dplatform.home=/usr/Oracle/Middleware/wlserver_10.3 -Dwls.home=/usr/Oracle/Middleware/wlserver_10.3/server -Dweblogic.home=/usr/Oracle/Middleware/wlserver_10.3/server -Dweblogic.management.discover=true -Dwlw.iterativeDev=false -Dwlw.testConsole=false -Dwlw.logErrorsToConsole=false -Dweblogic.ext.dirs=/usr/Oracle/Middleware/patch_wls1034/profiles/default/sysext_manifest_classpath:/usr/Oracle/Middleware/patch_ocp360/profiles/default/sysext_manifest_classpath weblogic.Server
    <9-May-2011 1:33:56 o'clock PM PDT> <Info> <Security> <BEA-090905> <Disabling CryptoJ JCE Provider self-integrity check for better startup performance. To enable this check, specify -Dweblogic.security.allowCryptoJDefaultJCEVerification=true>
    <9-May-2011 1:33:57 o'clock PM PDT> <Info> <Security> <BEA-090906> <Changing the default Random Number Generator in RSA CryptoJ from ECDRBG to FIPS186PRNG. To disable this change, specify -Dweblogic.security.allowCryptoJDefaultPRNG=true>
    <9-May-2011 1:33:59 o'clock PM PDT> <Info> <WebLogicServer> <BEA-000377> <Starting WebLogic Server with Java HotSpot(TM) 64-Bit Server VM Version 20.0-b11 from Sun Microsystems Inc.>
    <9-May-2011 1:34:04 o'clock PM PDT> <Info> <Management> <BEA-141107> <Version: WebLogic Server 10.3.4.0 Fri Dec 17 20:47:33 PST 2010 1384255 >
    <9-May-2011 1:34:12 o'clock PM PDT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING>
    <9-May-2011 1:34:12 o'clock PM PDT> <Info> <WorkManager> <BEA-002900> <Initializing self-tuning thread pool>
    <9-May-2011 1:34:12 o'clock PM PDT> <Notice> <Log Management> <BEA-170019> <The server log file /usr/Oracle/Middleware/user_projects/domains/base_domain/servers/AdminServer/logs/AdminServer.log is opened. All server side log events will be written to this file.>
    <9-May-2011 1:34:27 o'clock PM PDT> <Notice> <Security> <BEA-090082> <Security initializing using security realm myrealm.>
    <9-May-2011 1:34:45 o'clock PM PDT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STANDBY>
    <9-May-2011 1:34:45 o'clock PM PDT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING>
    9-May-2011 1:34:58 PM com.sun.faces.config.ConfigureListener contextInitialized
    INFO: Initializing Sun's JavaServer Faces implementation (1.2_03-b04-FCS) for context '/console'
    9-May-2011 1:34:58 PM com.sun.faces.config.ConfigureListener contextInitialized
    INFO: Completed initializing Sun's JavaServer Faces implementation (1.2_03-b04-FCS) for context '/console'
    <9-May-2011 1:35:04 o'clock PM PDT> <Notice> <Log Management> <BEA-170027> <The Server has established connection with the Domain level Diagnostic Service successfully.>
    <9-May-2011 1:35:04 o'clock PM PDT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to ADMIN>
    <9-May-2011 1:35:04 o'clock PM PDT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to RESUMING>
    <9-May-2011 1:35:06 o'clock PM PDT> <Notice> <Security> <BEA-090171> <Loading the identity certificate and private key stored under the alias DemoIdentity from the jks keystore file /usr/Oracle/Middleware/wlserver_10.3/server/lib/DemoIdentity.jks.>
    <9-May-2011 1:35:06 o'clock PM PDT> <Notice> <Security> <BEA-090169> <Loading trusted certificates from the jks keystore file /usr/Oracle/Middleware/wlserver_10.3/server/lib/DemoTrust.jks.>
    <9-May-2011 1:35:06 o'clock PM PDT> <Notice> <Security> <BEA-090169> <Loading trusted certificates from the jks keystore file /d/ct0/home/shahs06/JAVA/jdk1.6.0_25/jre/lib/security/cacerts.>
    <9-May-2011 1:35:06 o'clock PM PDT> <Alert> <Security> <BEA-090152> <Demo trusted CA certificate is being used in production mode: [
    Version: V3
    Subject: CN=CACERT, OU=FOR TESTING ONLY, O=MyOrganization, L=MyTown, ST=MyState, C=US
    Signature Algorithm: MD5withRSA, OID = 1.2.840.113549.1.1.4
    Key: SunPKCS11-Solaris RSA public key, 512 bits (id 4371458208, session object)
    modulus: 9550192877869244258838480703390456015046425375252278279190673063544122510925482179963329236052146047356415957587628011282484772458983977898996276815440753
    public exponent: 65537
    Validity: [From: Thu Mar 21 12:12:27 PST 2002,
                   To: Tue Mar 22 13:12:27 PDT 2022]
    Issuer: CN=CACERT, OU=FOR TESTING ONLY, O=MyOrganization, L=MyTown, ST=MyState, C=US
    SerialNumber: [    33f10648 fcde0deb 4199921f d64537f4]
    Certificate Extensions: 1
    [1]: ObjectId: 2.5.29.15 Criticality=true
    KeyUsage [
    Key_CertSign
    ]

  • Iphone 4s is slow scrolling though pages after exiting setting, 3sec lag, any ideas how to fix?

    Iphone 4s is slow scrolling though pages after exiting setting, 3sec lag, any ideas how to fix?

    I have the same issue on mine...

  • Firefox doesn't start after exiting

    Each time I exit firefox normaly or it crashes, FF doesn't start again. Firefox appears for 1 or 2 seconds in active processes and dessappears without any error messages. Computer restart doesn't solve this. Only reinstalling FF makes it start again, but only for one time. If I exit FF it won't start untill next reinstallation.

    After exiting and launching FF for second time firefox.exe appears for 1 or 2 seconds in active processes in TM and dissapears. No errors shown.

  • Firefox mobile won't shut down after exit

    Android RAZR v2.3.6
    After exiting Firefox, the app stays running in the background and eats my battery. Killed it yesterday in just 4 hours. My phone runs hot while firefox is running and after exiting Firefox.
    Doing a complete power off and back on doesn't work, Firefox starts back up and it is in my running apps again. It won't accept a force shut down either.
    Yesterday I couldn't get Firefox to shut down until I plugged the phone back into the charger. Then it finally went away on the running apps list.

    Not exiting when it goes to the background is normal and expected behavior for an Android application, but using all your CPU and ending up eating your battery sounds like a potential bug.
    We released a significantly updated version of Firefox for Android today, so the first thing to try is probably updating to that. If the problem persist, please report a bug in Bugzilla. We'll really need to know at least the version you're using, though.

  • Firefox process is left running in memory after exit

    The firefox *32 process is left running in memory after exiting Firefox. You cannot restart firefox without either killing the process (ctrl-alt-del ...) or restarting the computer.
    I am running Windows 7 pro 64bit and Firefox 6.0.2 swedish version.
    I haven't had this kind of a problem with prior versions of Firefox.

    Firefox is already running but is not responding
    * https://support.mozilla.com/en-US/kb/Firefox%20is%20already%20running%20but%20is%20not%20responding
    Profile in use
    * http://kb.mozillazine.org/Profile_in_use
    Check and tell if its working.

  • NB100 touchpad scroll bar stops working after exit full screen mode youtube

    I have few Toshiba laptops, satellite, and now netbook100.
    All of them share one problem, touchpad scroll bar:
    It will stop working after exit full screen mode in youtube.
    Here is how to reproduce the incident:
    1. using any mainstream browser, start playing a youtube video, click full screen button at the bottom right corner of the video.
    2. click on the [cross] to exit the full screen mode. (next to full screen button.)
    3. check if you scroll bar still functioning.
    4. a reboot will restore the function.
    Currently, Im on vista, I believe in XP you will have the same problem.
    Searching in google (touchpad scroll bar stops full screen youtube) will return more people share the same question but no answer.
    Environments: win xp all, win vista all.
    Windows all most updated driver, touch pad driver up to date.
    This is not a major tech problem but for a netbook, this is very annoying.
    If anyone have this problem or answers, please share it here.
    Thank you in advance.
    regards.

    I had the exact same problem on my laptop and after a lot of searching, I finally found the simplest solution that really works for me so here goes:
    Once you exit the full screen video and the scroll pad has stopped working, click once anywhere on the youtube page(just to unfocus from the video) and press the spacebar button on your keyboard twice.
    Et voila, your scroll pad should be working again. Beats the hassle of having to log off everytime.
    Hope this helps

  • Again getting black screen after Exiting Safe Mode in Windows 8 as suggested by hp

    I'm again getting black screen after entering safe mode after upgrade to Windows and exiting from safe mode but after exiting my laptop display was of 8.b but after some time it again went back to same black screen problem .I disabled Intel and amd hd 86graphics driver in safe mode.please help .

    Hi there ,
    Thank you for visiting the HP Support Forums and Welcome! I have looked into the issue you are having with your display Turning Black after entering Safe Mode.  I found a document for you called Troubleshooting Black Screen Displays with No Error Messages During Startup or Boot. It would be very helpful for me to know what has been done already so that I can narrow down what troubleshooting would be best for you. You mentioned in your post "again". Is it an intermittent issue? Please follow these provided troubleshooting steps, re-post with the results of the steps in the document, and any other troubleshooting steps you had tried and the results. Have a great day!

  • Firefox didn't upload from RAM after exit. What to do?

    After exit from Ff, when I trying to download it again, I see information "Fifefox is download but don't answer. Try to reboot it".

    hello, please try to [[Reset Firefox – easily fix most problems|reset firefox]] and see if this can address the issue...

Maybe you are looking for

  • How do I change permissions to access a shared file?

    My computer has 2 accounts, mine and my wife. She has a folder with photos. When logged in as my wife, I duplicated that folder and moved the copy to the User>Shared folder. When I log in as myself and access the Shared folder I see the copied folder

  • Error in Posting of Excise Duties

    Dear all Going thru the following error, while doing Billing document  Basic Excise-10%, Edu Cess-2% and Higher Edu Cess-1% has to maintain mannually. Then we are doing Excise Invoice. and get output of it. there is routine-62 at access sequence on O

  • How can I transfer backed up Mac files to a PC without a Mac

    I killed my MacBook Pro and I cannot afford at this time to get a new one or fix the current one. I have Time Capsule with a good backup of my files.  Can I transfer those files (pics & documents) to a PC without a working Mac ? 

  • The microphone on the messages is not there for ios 8 after update

    does anyone now how to see the microphone after the update to ios 8

  • Installing Illustrator Creative Cloud

    If I get the new Illustrator Creative Cloud will I still be able to open all the Illustraior files I've been making over the last several years, and work on them? Is there the same compatibility I got when I ever upgraded in the past?