Re: Using alerts in developer 2000

From: Leonardo Carvalho <spock1_at_ibm.net>
Date: 1998/05/06
Message-ID: <35510950.37B2CC78_at_ibm.net>#1/1


If the Ricardo's solution wasn't what you want try this: At form level write an ON-MESSAGE trigger with this code DECLARE
msgnum NUMBER :=MESSAGE_CODE;
BEGIN
    IF msgnum = <oracle message number for delete> THEN     <do something> (or nothing)
    END IF;
END; fayberre75_at_hotmail.com wrote:

> Hi ,
> I used an alert for a database application with developer 2000
> my aim is to show the message : (" Etes vous sure de vouloir supprimer
> cet
> enregistrement ? ") ------{are you sure to delete this record? }
> when the button delete is clicked.
> This message appear effectively but the oracle alert is shown too
> so i have to confirm two times .
> I would like to know how could I hide the oracle alert .
> thanks
> Fayçal
> fayberre75_at_hotmail.com
>
> -----== Posted via Deja News, The Leader in Internet Discussion
> ==-----
> http://www.dejanews.com/ Now offering spam-free web-based
> newsreading
Received on Wed May 06 1998 - 00:00:00 CEST

Original text of this message