Re: Forms 4.5 Question - Trapping Default Dialogues

From: Larry <lculver_at_my-deja.com>
Date: 2000/04/26
Message-ID: <8e73on$9l7$1_at_nnrp1.deja.com>#1/1


You cannot "Trap" the response once the form has displayed this message. After this dialogue is responded to your next opportunity to execute code would be in the Pre-Insert, Pre-Update, Post-Text-Item or maybe When-New-Item-Instance triggers.

If this is not satisfactory you may consider testing the status of the record yourself and create your own alert dialogue which will allow you to perform any special processing you need.

Larry

In article <8e1s40$ps8$1_at_nnrp1.deja.com>,   pol15_at_my-deja.com wrote:
> When navigating "off" of a changed record in Oracle Forms 4.5, a
> default Oracle dialog appears (if you haven't saved your changes). It
> reads ...
>
> "Do you wish to save the changes you have made?"
>
> The user is given 3 options - YES, NO or CANCEL
>
> Can anyone tell me how trap the user response to this message. I want
> to perform some PL/SQL depending on what button is pressed.
>
> Any help greatly appreciated.
>
> Pol.
>
> Sent via Deja.com http://www.deja.com/
> Before you buy.
>

Sent via Deja.com http://www.deja.com/
Before you buy. Received on Wed Apr 26 2000 - 00:00:00 CEST

Original text of this message