Re: Calling forms within forms

From: Daryl Erwin <derwin_at_mach2.wlu.ca>
Date: Tue, 14 Jun 1994 18:08:28 GMT
Message-ID: <CrEFq5.IEs_at_mach1.wlu.ca>


In article <2ti11g$513_at_ankh.iia.org> smithg2_at_iia.org (Gary Smith) writes:
>Michael Stowe (Michael.Stowe_at_f573.n115.z1.fidonet.org) wrote:
>: *** Quoting Ha Kong Kuen to All dated 06-03-94 ***
>: > I have developed several forms. Some are simple for simple
>: > maintenance of decode lists (say department code) and some
>: > are more complicated one (say updating staff records).
>: > My problem is if I am updating a staff record and find that the
>: > department code is missing, I would like to re-call that simple form
>: > and insert and commit that dept to database.
>: > How can I do this?
>
>
>Another option, in addition to those mentioned by Mike Stowe, would
>be to use background menus to call the other form.

I didnt see Mike's reply but.....
  In the called form change the KEY-EXIT trigger   to see if system.call_form ? is not null if it is then

        do an exit(no_rollback,no_commit);

  In the KEY-Commit under the same conditions as above do    a post; else do
   a commit;

So the commit in the calling form will COMMIT both at the same time. Received on Tue Jun 14 1994 - 20:08:28 CEST

Original text of this message