Re: How trap the message "Do you want to save the change you have made?"

From: Patrick Sinke <patrick.sinke_at_cgey.nl>
Date: Sat, 21 Jul 2001 21:50:53 GMT
Message-ID: <992335096.858831_at_sleeper.capgemini.nl>


[Quoted] Try writing a Silent_Commit procedure ( u know what this does, I think), and [Quoted] execute this in the post-form trigger. Of course, you must be sure that the [Quoted] user wants to commit, else you execute a rollback.

"no changes to apply" is the same story, you only suppress these messages when they're about to occur. That is correct programming.

Like in the silent_commit, which looks like this:

begin
  l_msglevel := :system.message_level;
  :system.message_level := <15>; -- or so  Commit;
  :system.message_level := l_msglevel;
end;

hth,

Patrick Sinke

x <x_at_x.com> schreef in berichtnieuws
[Quoted] Xy2V6.104782$q51.861384_at_news1.gvcl1.bc.home.com...
> I have many messages in my Forms application, like "Do you want to save
 the
> change you have made?" or "No change to apply". I wonder if I could trap
> these messages, I don't want them to occur anymore.
>
> I've tried :system.message_level := 25; -- or whatever
> but it's not efficient for this kind of messages.
>
> Tx
>
> --
>
>
> "Patrick Sinke" <patrick.sinke_at_cgey.nl> wrote in message
> news:992249653.380456_at_sleeper.capgemini.nl...
> > what do u mean (or : Be More Specific ), mr X.?
> >
> > x <x_at_x.com> schreef in berichtnieuws
> > QUQU6.103485$q51.839431_at_news1.gvcl1.bc.home.com...
> > >
> > > or other like "No change to apply" in Forms 5.0
> > >
> > > Tx
> > >
> > >
> > >
> > >
> > >
> >
> >
>
>
Received on Sat Jul 21 2001 - 23:50:53 CEST

Original text of this message