Plez help with FIND_WINDOW() command...

From: Richard Hollingsworth <william.hollingsworth_at_hsv.boeing.com>
Date: Wed, 13 Sep 2000 15:32:22 GMT
Message-ID: <39BF9E06.CD8E8994_at_hsv.boeing.com>


[Quoted] Hi. Thanks for reading this.

I have a 3-form application (Oracle 8.0.5, FORMS 2.1 Ver. 5, Windows NT 4.0). The 1st form is a main menu consisting of 5 push buttons. The second form is my CP/PR database application. The 3rd form is my Action Tracking DB application.

When a user presses the 1st (CR/PR Database) button, I want to kick off the CR/PR application.

So, I created a 'When-Button-Pressed' trigger on the 1st button. My book shows the following code to start an application's window running.....

DECLARE
    window_id WINDOW;

BEGIN
    window_id := FIND_WINDOW(CR_PR);
     SHOW_WINDOW(window_id);
END;

  • I snipped out the exception handling stuff for clearity ****

When I try to compile this code, I get...

     Identifier 'CR_PR') must be declared;

Can you please tell me what's wrong with this code.

I've already tried.... OWNER.CR_PR

                                 FORM_NAME.CR_PR
 and                           OWNER.FORM_NAME.CR_PR

None of these worked either.

Thanks,
Richard Received on Wed Sep 13 2000 - 17:32:22 CEST

Original text of this message