Oracle Forms (MOSC)

MOSC Banner

Function Displaying an Alert that does not disappear

edited Sep 22, 2009 4:56PM in Oracle Forms (MOSC) 1 commentAnswered
 Hi.  I have the following function:
FUNCTION show_yesno_alert (the_alert_message VARCHAR2)RETURN CHAR IS
o_response varchar2(3):= null;
alert_return_value   number;
BEGIN

        set_alert_property('al_yesno',alert_message_text,the_alert_message);
        set_alert_property('al_yesno',title, 'Validation Read');
        set_alert_button_property('al_yesno',alert_button1,label,'Yes');
        set_alert_button_property('al_yesno',alert_button2,label,'No ');
        set_alert_button_property('al_yesno',alert_button3,label,'Cancel');
   
        alert_return_value  :=  show_alert('al_yesno');
   
        if alert_return_value  =  alert_button1  then
                        o_response:='YES';
        elsif alert_return_value  =  alert_button2  then

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center