Re: What trigger catches this event?
Date: 28 Apr 1999 01:34:24 GMT
Message-ID: <19990427213424.09262.00000401_at_ng-cm1.aol.com>
> We are using Forms 5.0 to develop a client( Win95 ) / server (Sun)
>system.
> We wanted to perform some computations on a block when the user
>presses <Save> Button Or Press F10 to save the changes on the block,
>so we used <KEY-Commit> trigger on the block for that purpose. But
>sometimes our users just forget saving the block ( by pressing mouse or
>key ),
>after they make changes and try to exit the form, Oracle Forms
>automatically
>raises an Alert window asking the user "DO YOU WANT TO SAVE THE CHANGES
>YOU HAVE MADE?" , when the user answers <Yes> , the changes are
>saved in the system and then the form exits, But the trigger
><KEY-Commit>
>will NOT fire.
>
>Question: How can I catch this kind of event and do some customized
> computation? i.e. When the user EXIT a changed block
> without explicitly saving but the change is actaully saved
> by answering the ALERT window <Yes><No><Cancel>, what kind
> of trigger will fire ?
>
>Any suggestions and advices are greatly appreciated.
>
>Sean Zhang
I'm not sure if it exists on Forms 5, (it probably does), but look at the POST-DATABASE-COMMIT trigger. It fires onces after the commit has successfully completed, not just requested. Received on Wed Apr 28 1999 - 03:34:24 CEST