11.01.2013 Views

Oracle Forms Developer – Form Builder Reference, Volume 1

Oracle Forms Developer – Form Builder Reference, Volume 1

Oracle Forms Developer – Form Builder Reference, Volume 1

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

SHOW_ALERT built-in<br />

Description<br />

Displays the given alert, and returns a numeric value when the operator selects one of three alert buttons.<br />

Syntax<br />

SHOW_ALERT<br />

(alert_id Alert);<br />

SHOW_ALERT<br />

(alert_name VARCHAR2);<br />

Built-in Type unrestricted function<br />

Returns A numeric constant corresponding to the button the operator selected from the alert. Button<br />

mappings are specified in the alert design.<br />

If the operator selects... <strong>Form</strong> <strong>Builder</strong> returns<br />

Button 1 ALERT_BUTTON1<br />

Button 2 ALERT_BUTTON2<br />

Button 3 ALERT_BUTTON3<br />

Enter Query Mode yes<br />

Parameters<br />

alert_id The unique ID that <strong>Form</strong> <strong>Builder</strong> assigns the alert when the alert is created.<br />

Use the FIND_ALERT built-in to return the ID to an appropriately typed<br />

variable. The data type of the ID is Alert.<br />

alert_name The name you gave the alert when you defined it. The data type of the<br />

name is VARCHAR2.<br />

SHOW_ALERT examples<br />

432<br />

/*<br />

** Built-in: SHOW_ALERT<br />

** Example: See FIND_ALERT and SET_ALERT_PROPERTY<br />

*/

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!