Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> Re: do_key('exit_form')

Re: do_key('exit_form')

From: Eric C. Janzen <ejanzen_at_telusplanet.net>
Date: Tue, 08 Feb 2000 19:17:27 GMT
Message-ID: <bZZn4.9078$jW4.128950@news0.telusplanet.net>


Brian,

In the KEY-EXIT trigger, use:

Exit_Form(NO_VALIDATE);

By doing this, form builder exits the current form without validating the changes, committing the changes, or prompting the operator.

--



Eric Janzen
E. Janzen Consulting Inc.
Oracle Development Specialist

Brian West <brian_at_indosoft.nb.ca> wrote in message news:38A04D19.C5F834E0_at_indosoft.nb.ca...
> I am trying to override the default alert that oracle provides when
> unsaved changes exist and you try to exit the form. I would like my
> alert to be 'Unsaved Changes exist? Do you wish to save them?'
> YES -- No -- CANCEL ---> If 'yes' is clicked, a validation routine
> is run. If 'cancel' is clicked, you return to the form. These work fine.
> The problem is that when 'no' is clicked, I want to exit the form
> (full_rollback, no_commit), but the default oracle message appears
> following. Does anyoneknow how to suppress this? This functionality is
> currently inside the form level do_key(exit_form) trigger.
>
> Thanks
>
Received on Tue Feb 08 2000 - 13:17:27 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US