Re: Do you Want to save ...??
Date: 1998/06/13
Message-ID: <1998061302244500.WAA13156_at_ladder01.news.aol.com>#1/1
>Hello!!!
>
> Does anyone know how to trap the standard message in Forms 4.5:
>
> Do you want to save the changes you have made???
>
>I need to customize this one...
>
>Thanks...
>
> Manuel
>Jerez..
>
>
I don't know how to change the message, but I think you can intercept the processing before Oracle's message comes up and display yours.
This message appears when the form is being closed and there are unsaved changes. Try adding something like this to you 'WHEN-FORM-CLOSED' trigger...
IF :SYSTEM.FORM_STATUS = 'changed' then
<display your message using an ALERT, which will return a code corresponding to the button pressed>
if <save and close> then
commit_form;
exit_form;
elsif <cancel> then
null;
elsif <abandon changes> then
exit_form (no_confirm);
end if;
Dan Received on Sat Jun 13 1998 - 00:00:00 CEST
