Re: HELP: Open and close a new form without commit the first one!

From: Douglas J Mitchinson <doug_at_cetax.demon.co.uk>
Date: Wed, 9 Apr 2003 11:44:35 +0100
Message-ID: <kHf0ToBTm$k+EwUS_at_cetax.demon.co.uk>


You need to call form B with its own database session so each form will have independent commit processing. Use open_form('B', session).

In message <6c3ae28b.0304070041.28f7b9d7_at_posting.google.com>, Valeria <svale80_at_libero.it> writes
>Hello everyone!
>This is my problem: from form A I have to call form B if the user
>would insert a new data to use. During session on form B, formA have
>to keep data already put in its items, without commiting them. Now,
>when the user want to close formB and commit the added records, I use
>ExitForm but this commit also formA! I have tried to call an explicit
>Commit after the INSERT, and then call the EXIT_FORM(NO_COMMIT), but
>it seems no work! Forms tries to commit formA, and fails because some
>necessary items are missed.
>Is my problem clear? :)
>Thanks for your wonderful help!
>Byess
>Vale

-- 
Douglas J Mitchinson
http://www.cetax.demon.co.uk
Received on Wed Apr 09 2003 - 12:44:35 CEST

Original text of this message