Re: Error using multiple RunProduct-Command in Forms

From: JamesF5088 <jamesf5088_at_aol.com>
Date: 31 Aug 1994 17:34:01 -0400
Message-ID: <342t09$bra_at_search01.news.aol.com>


In article <3426bb$41c_at_news.rhrz.uni-bonn.de>, moebius_at_athene.informatik.uni-bonn.de (Dirk Moebius) writes:

> Why don't you use Call_Form or New_Form instead?
 

>Because I want the user to be able to switch back to the
>calling form. When I use Call_Form or New_Form, the
>calling form is disabled / lost.
>I need *real* multi-tasking.



This should give you an idea on how to do what your want.

In FRM1:

     KEY-[whatever]
         :global.form1 := :system.current_form; 
          new_form(FRM2)

In FRM2:

    NEW-FORM-INSTANCE
        :global.form2 := :system.current_form; -- if your going to call a FRM3

     to return to FRM1 from FRM2   (or FRM2 from FRM3)
     KEY-[whatever]
           new_form(:global.form1); 

Good Luck. Jim Received on Wed Aug 31 1994 - 23:34:01 CEST

Original text of this message