Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> Re: do_key('exit_form')
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.
--
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
![]() |
![]() |