Re: Do you Want to save ...??

From: Suresh Bhat <suresh.bhat_at_mitchell-energy.com>
Date: Wed, 17 Jun 1998 21:35:18 GMT
Message-ID: <01bd9a47$ae6a4ec0$a504fa80_at_mndnet>


This is from a Forms 3.0 on-message trigger sample. I don't know if there is a corrspinding message code for the your message, but it will give you an idea. It shouyld work for forms 4.5 also.

   DEFINE TRIGGER  

      NAME = on-message
      TRIGGER_TYPE = V3
      TEXT = <<<
[Quoted]       /*  **************  Reference from LIBRARY form LIB  ************* 
*/
      if message_code = 40352 then
      /* key-nxtset end of records */
         message('There are no more records to be retrieved.'); fail;
      elsif
         message_code = 41800 then
      /* LOV not available */
         message('Valid list of values look up window is not available
                  for this field.'); fail;
      else
[Quoted]       /* Provide for other messages. */
         message(message_type||'-'||to_char(message_code)||':'||
                 message_text);
      end if;
      >>>
 

   ENDDEFINE TRIGGER suresh.bhat_at_mitchell-energy.com

Manuel Jerez <mjerez_at_most.satlink.net> wrote in article <35818145.D83896E6_at_most.satlink.net>...
> 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..
>
>
>
Received on Wed Jun 17 1998 - 23:35:18 CEST

Original text of this message