Running query automatically by activating a form already open...

Hello
I have developed two forms... formed called formB (using the built-in function open_form passing certain parameters...).
I want to run query automatically on a block of retail of formed when formB leaves (.. .then formA remains the only open form).
I wrote a code of the trigger WHEN-WINDOW-ACTIVATED on formed... and it works...!
but the user has to click on any element of this form...
Is there another way...?

Note: I use Dev2000 v6i with patch 12 applied...
Thank you very much
SIM

sgalaxy wrote:

I wrote a code of the trigger WHEN-WINDOW-ACTIVATED on formed... and it works...!
but the user has to click on any element of this form...
Is there another way...?

Try using a GO_ITEM in your method instead of the user manually clicking on one, that might work.

Tony

Tags: Oracle Development

Similar Questions

  • List of open and active/Windows Forms displayed within Windows XP 7 v/s windows on the right by clicking on the name of the application in the status bar

    Salvation OR,.

    We found that the list of forms/open windows displayed in Windows XP (on the right by clicking on the name of the application in the windows taskbar) seems to indicate all open and active windows/forms in the application.

    We would like to know how to enable the same functionality in a Windows 7 environment. The best we can do now is to double click on the name of the application on the windows taskbar to switch between active windows/Forms in the application. We would like a menu similar to the windows XP appearance about running on Windows 7 when it comes to this particular feature.

    Thank you and best regards,

    -Ashish

    The taskbard has changed significantly in Windows Vista and 7. You can get a similar functionality to what you call by customizing the taskbar in the taskbar properties. In addition, now press SHIFT key while right-clicking to display a menu similar to what you show in your screenshot, except that it does not display the name of the element. In Windows 7, the feature make you is typically done by hovering over the icon in the bar tasks and selecting one of the points of view which appears above the element.

    You can use the Windows shellapi to do a limited customization of the task bar, but this API is very difficult to use and I would not recommend this approach.

    CVI provides a method to change the name of the item in the taskbar (see this KB), but it does not add the name after the restoration in the context menu.

  • pre-requete and key-run-query

    Hi all

    one who fires first

    KEY-RUN-QUERY FIRES BEFORE PRE-REQUETE or vice versa?

    Thank you

    newbi_egy wrote:

    What do you mean with "obvious developer.

    1. I hear of course developer KEY-EXEQRY integrated call/write EXECUTE_QUERY trigger to run the query.

    2. This is in all versions, same behavior except the shortcut key to run the query in 6i F8 in 11 g Ctrl + F11

    3. it's Ok, it should be that way. This is correct behavior.

    You can test this way

    1 al ' KEY-EXEQRY

    message('KEY-EXEQRY');

    message('KEY-EXEQRY');

    EXECUTE_QUERY;

    2. in the previous QUERY

    message('PRE-QUERY');

    message('PRE-QUERY');

    3. press F8 or Ctrl + F11 to run the query based on you form version

    Result:

    First Messenger KEY-EXEQRY

    Second QUERY before displaying the messages

  • How can I add a Document template to my library of templates with forms already implemented?

    How can I add a Document template to my library of templates with forms already implemented?

    I use the same contract repeatedly to different customers and need to set up the custom fields every time which is a total pain.  Also, there is no option 'Add a Document Template' in my account anywhere, where the tutorials do not say that it should be or anywhere else.

    How can I fix it?


    Ben

    Hello Ben,

    You can go to the dashboard-> additional functions and click on "Add document to the library", and then can download the form inside. If your document already contains form fields, they would automatically get detected. Otherwise, you can also add form fields in EchoSign too.

    Kind regards

    -Usman

  • Query automatically considerably slows down the initial Page load

    I use JDeveloper 11.1.1.6 and I have a view object that contains a view of the criteria that I put on request automatically. This criterion of VO/view is then used on my page by default startup as a query with table component. Everything is functional but very slowly. I did some basic performance tests and it took 62 seconds from the moment I saw the blue spinning loading icon until the page appeared with the results on the initial page loading (after the page is initially loaded the query is fast). Then I disabled the feature of query automatically, and I could have the page do the initial load and run the query manually by 16 seconds. A difference! Is there anything I can do to speed up performance while loading the first page when you use the Query option automatically?

    Thanks Shay, I look at the logs with an increased recording and it seems that the query is only get executed once. I found a work around for this problem though. I've disabled the parameter Query automatically on the display criteria in the View object and then for links to the page where I am using this aspect of research and went to the properties of the search criteria under the executables section and changed the InitialQueryOverridden from false to true and now the query runs automatically in the same amount of time to do this manually a so no more time to wait very long at the initial loading of the application.

  • When you click on the Cancel button, avoid running query

    Hello

    I'm going to the jsff a page to another at the click of a button

    In the second page I go back to the 1st page when the Cancel button is clicked
    But when clicked on this button cancel my request get rerun and takes a long time to come back on the 1st page
    This is a read only vo interview... How can I avoid running query on a button click Cancel

    Thank you

    Real question is: "why is your query run when you press the Cancel button?
    If your application is already running on the first page, this should not happen unless you:
    -to perform an operation on the Cancel button that runs the query
    -changed "Refresh" of your iterator property
    -perform rollback

    Dario

  • Trinidad Apache runs with control of activated timestamp.

    Experts,

    My web.xml file content
     <context-param>
        <description>If this parameter is true, there will be an automatic check of the modification date of your JSPs, and saved state will be discarded when JSP's change. It will also automatically check if your skinning css files have changed without you having to restart the server. This makes development easier, but adds overhead. For this reason this parameter should be set to false when your application is deployed.</description>
        <param-name>org.apache.myfaces.trinidad.CHECK_FILE_MODIFICATION</param-name>
        <param-value>false</param-value>
      </context-param>
    When my application is running I get the following on the weblogic console

    < ViewHandlerImpl > < _checkTimestamp > Apache Trinidad runs with control of activated timestamp. This should not be used in a production environment. See the org.apache.myfaces.trinidad.CHECK_FILE_MODIFICATION property in WEB-INF/web.xml
    < UIXEditableValue > < _isBeanValidationAvailable > Validation Bean A provider is not present, so bean validation is disabled

    is it not a bit strange? Please tell us what the problem is.

    thnks
    11.1.2.1 jdev

    If you speak the WLS integrated, timestamp control is automatically turned on anything so that changes you make in the IDE can be picked up. There is nothing to worry.

    John

  • my pc runs research and fills in the forms she self... who runs it?

    My pc runs research and fills in the forms by itself. I did al worm and Trojan research...

    Hi geddus,

    1. what research program do you use?

    2. what security software is installed on your computer?

    (a) I recommend you run a virus scan online from the link given below and check if the problem persists.

    Microsoft safety scanner

    Also, make sure that you have the latest update of the software antivirus installed on your computer, so that it works correctly.

    (b) you can also download & run Microsoft Security Essentials on your computer.

    Hope the helps of information.
    Please post back and we do know.

  • Hi, I reinstalled vista windows several times on my pc during the past three years, but now he he isaying my activation key is already in use. Can anyone help please

    Hi, I reinstalled vista windows several times on my pc during the past three years, but now he he isaying my activation key is already in use. Can anyone help please

    Use the phone activation, do not meet all the prompts until the opportunity to talk to a real person

  • I moved a drive and it says my activation key has already been used is anyway I can get it back to keep it active

    I moved a drive and it says my activation key has already been used is anyway I can get it back to keep it active

    Hello

    Thanks for posting in the Microsoft community!
    You have reached the right forum for your question.

    This problem occurs because you changed the hard drive. When a change is made in the hard disk of the windows vista system will ask you to activate.

    To activate Windows Vista by using the automated telephone system, follow these steps:

    a. Click Start, and then click computer.
    b. click System Properties on the toolbar and then click here to activate Windows now in the Windows activation section.
    If you are prompted for an administrator password or a confirmation, type the password, or click on continue.
    c. click Show me other ways to activate.
    d. click on use the automated telephone and then follow the instructions.

    You can also navigate to the link below and try to follow the steps to reactivate the copy of Vista.
    http://support.Microsoft.com/kb/950756

    Reference link:
    What is activation?
    http://Windows.Microsoft.com/en-in/Windows-Vista/what-is-activation

    Activate Windows on this computer
    http://Windows.Microsoft.com/en-in/Windows-Vista/activate-Windows-on-this-computer

    Please respond with the information. I'd be happy to help you further.

  • I had to format my hard drive after a problem now a message says that my activation key is already in use

    I had a problem with my computer, a file is missing so I formatted my hard drive and reinstalled vista Home premium something.

    During activation, he said that the activation key was already in use.

    It's a key genune came with my computer.

    Any help is appreciated!

    George Gardner

    I noticed there was a choice to call the microsoft automated, activation number, which I did.

    I am now activated.

    Phew!

    I hope that this post is useful for others.

  • Automatic SplashScreen activity minimizes app

    I have a SplashScreen running in s Thread activity. Call methodefinish(); minimizes the application when the SplashScreen activity ends and the MainActivity begins. How can I complete the SplashScreen activity without calling the finish?

    public class SplashScreen extends Activity {
    
        /**
         * The thread to process splash screen events
         */
        private Thread mSplashThread;    
    
        /** Called when the activity is first created. */
        @Override
        public void onCreate(Bundle savedInstanceState) {
            super.onCreate(savedInstanceState);
    
            // Splash screen view
            setContentView(R.layout.splash);
    
            final SplashScreen sPlashScreen = this;   
    
            // The thread to wait for splash screen events
            mSplashThread =  new Thread(){
                @Override
                public void run(){
                    try {
                        synchronized(this){
                            // Wait given period of time or exit on touch
                            wait(5000);
                        }
                    }
                    catch(InterruptedException ex){
                    }
    
                    finish();
    
                    // Run next activity
                    Intent intent = new Intent();
                    intent.setClass(sPlashScreen, MainActivity.class);
                    startActivity(intent);
                    //stop();
                }
            };
    
            mSplashThread.start();
        }
    
        /**
         * Processes splash screen touch events
         */
        @Override
        public boolean onTouchEvent(MotionEvent evt)
        {
            if(evt.getAction() == MotionEvent.ACTION_DOWN)
            {
                synchronized(mSplashThread){
                    mSplashThread.notifyAll();
                }
            }
            return true;
        }
    }
    

    This did:

    mSplashThread =newThread(){@Overridepublicvoid run(){try{synchronized(this){// Wait given period of time or exit on touch
                        wait(5000);}}catch(InterruptedException ex){}// Run next activityIntent intent =newIntent();
                intent.setClass(sPlashScreen,MainActivity.class);
                startActivity(intent);//call finish after startActivity
                finish();//stop();                    }};
    
        mSplashThread.start();
    
  • run the automatic configuration in test mode

    Hello

    How to run the automatic configuration in test mode?

    I looked adutilities document (Maintenance tools) but did not.

    Thank you.

    $AD_TOP/bin/adchkcfg.sh contextfile = appspass =

    Check the log file after the command is completed to find the information about the changes that Autoconfig will do if it is executed.

  • "Error running query: the real member does not exist in the application.

    Hi all

    I have a HFM EN users need to run, but somehow they started getting this error "error running query: real member does not exist in the application". I traced their levels of access to mine, and I am able to run the same report without any problem but the user still getting the same error. what may be the possible cause. Please help me so that I can ensure the debugging.

    Thank you

    Zitouni

    I was able to solve this problem by checking the user of security principals class was trying to run the report for. The user did not have acesss on the class of the said security and change all, solve the problem.

    Thanks, Sattu

  • Activation key is already in use error

    Dear members,

    I bought Win 8 online and installed on a laptop that I was using. Later, I formatted the hard drive of this laptop and sold and bought a new. When I tried to activate the engine on the new laptop, it gave error that your activation key is already used to activate. I know that my copy of windows to be used elsewhere. How can I activate my windows 8 on the new PC?

    Thanks for the reply, it is a retail purchase, I called the online support and they give me some numbers that I entered and windows has been activated.

Maybe you are looking for