Home » Developer & Programmer » Forms » alert messages
icon9.gif  alert messages [message #141764] Wed, 12 October 2005 01:12 Go to next message
cumars
Messages: 16
Registered: October 2005
Junior Member
hi friends,

i am using oracle forms 6i. I want to pass the value of the textbox to the alert messages in the same form when i press the push button.

please help

----cumars
Re: alert messages [message #141771 is a reply to message #141764] Wed, 12 October 2005 01:54 Go to previous message
djmartin
Messages: 10181
Registered: March 2005
Location: Surges Bay TAS Australia
Senior Member
Account Moderator
From the doco:
/*
** Built-in: SET_ALERT_PROPERTY
** Example: Places the error message into a user-defined alert **
named 'My_Error_Alert' and displays the alert.
** Trigger: On-Error
*/

DECLARE
   err_txt     VARCHAR2 (80) := Error_Text;
   al_id       Alert;
   al_button   Number;
BEGIN
   al_id      := Find_Alert ('My_Error_Alert');
   Set_Alert_Property (al_id, alert_message_text, err_txt);
   al_button  := Show_Alert (al_id);
END;


David
Previous Topic: Deploying Developer6 Application to Web
Next Topic: Opening a canvas/windows
Goto Forum:
  


Current Time: Fri Sep 20 01:44:43 CDT 2024