Re: FORMS 4.5 Question
Date: Wed, 22 Apr 1998 09:33:49 GMT
Message-ID: <Ert6G3.62H_at_wau.mis.ah.nl>
From the Oracle Forms4.5 online help system :
When a COMMIT is initiated in any form, Oracle Forms does validation and
commit
processing for each open form that shares the same session as that form.
Forms are processed in the sequence defined by the order in which they
were
opened, starting with the form that initiated the COMMIT. If an error
occurs
during commit processing, the input focus is returned to the form that
initiated the COMMIT.
So first message frm-40400 occurs at the bottom of the screen, and then
message frm-40405 pops up, since there's no place left at the bottom
of the screen.
There's more documentation on creating multiple-form applications in the
online help file, which probably will help you to solve your problem.
-- Wessel van Alphen. Please remove all X's from my E-mail account when replying. Amardeep Johar wrote in message <353D13A1.452A_at_shell.ca>...Received on Wed Apr 22 1998 - 11:33:49 CEST
>Hello Forms Gurus,
>
>I am currently developing a 2 form application and am struggling with
>one aspect of it.
>
>I make a OPEN_FORM(FORMNAME) call to the 2nd form from one of the
>WHEN-BUTTON-PRESSED triggers on the first form in order to navigate from
>one form to the other. Now whenever I make any changes to the data
>displayed on the 2nd form, and try and save the changes (I have a SAVE
>button that does a COMMIT_FORM if the Form status has changed), I get
>the following message in a window (the standard Forms 4.5 error/message
>window)
>
>FRM-40405: No Changes to commit.
>
>When I acknowledge the message, I then get a message at the bottom of
>the screen that says :
>
>FRM-40400: Transaction complete: 1 records applied and saved.
>
>and it commits the changes (one change in this case) to the database.
>
>Could someone indicate why I get the first message and is there a way to
>get around it? I have similar methodology to commit changes in the first
>form and that works like a charm. Does this have anything to do with the
>OPEN_FORM call?
>
>Your advise (preferably by email at amardeep.johar_at_shell.ca) would be
>appreciated.
>
>
>Regards.
>
>Amar
