Re: Navigating between 2 different forms in Forms 4.5???

From: <pberetta_at_my-deja.com>
Date: Thu, 23 Dec 1999 02:26:00 GMT
Message-ID: <83s17l$keo$1_at_nnrp1.deja.com>


Andy,

    The two 'normal' ways to navigate between form are the CALL_FORM and the OPEN_FORM built-ins. In either case, the original form is not closed. If you want to close the first form, you can code your WHEN- -PRESSED trigger as:
BEGIN
  CALL_FORM('SECOND_FORM_NAME');
  CLOSE_FORM('FIRST_FORM_NAME');
END;
because OPEN_FORM transfers control immediately to the new form and a CLOSE_FORM would not get executed.

    Most of the time, it is actually better to leave the first form open and hide it behind the second form. This allows you to bouce back and forth between them without the overhead involved in opening a form. Check out the explainations of these builtins in Forms HELP and decide what is best in your situation.
Hope this helps,
Paul

In article <155ccc6c.41c93a23_at_usw-ex0102-015.remarq.com>,   Andy <abruskoNOabSPAM_at_binney-smith.com.invalid> wrote:
> Hi,
>
> Can someone please tell me the easiest way to navigate from one form
to
> another in Forms 4.5?
>
> I have 2 forms and would like to have a button on one which, when
> clicked, will close the existing form and open the other form.
>
> Thanks very much for your help!
>
> Andy
>
> * Sent from RemarQ http://www.remarq.com The Internet's Discussion
Network *
> The fastest and easiest way to search and participate in Usenet -
Free!
>
>

Sent via Deja.com http://www.deja.com/
Before you buy. Received on Thu Dec 23 1999 - 03:26:00 CET

Original text of this message