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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

SYSTEM.MESSAGE_LEVEL system variable<br />

Syntax<br />

SYSTEM.MESSAGE_LEVEL<br />

Description<br />

SYSTEM.MESSAGE_LEVEL stores one of the following message severity levels: 0, 5, 10, 15, 20, or<br />

25. The default value is 0.<br />

SYSTEM.MESSAGE_LEVEL can be set to either a character string or a number. The values assigned<br />

can be any value between 0 and 25, but values lower than 0 or higher than 25 will generate an error.<br />

During a Runform session, <strong>Form</strong> <strong>Builder</strong> suppresses all messages with a severity level that is the same or<br />

lower (less severe) than the indicated severity level.<br />

Assign a value to the SYSTEM.MESSAGE_LEVEL system variable with standard PL/SQL syntax:<br />

:System.Message_Level := value;<br />

The legal values for SYSTEM.MESSAGE_LEVEL are 0, 5, 10, 15, 20,and 25. <strong>Form</strong> <strong>Builder</strong> does not<br />

suppress prompts or vital error messages, no matter what severity level you select.<br />

SYSTEM.MESSAGE_LEVEL examples<br />

Assume that you want <strong>Form</strong> <strong>Builder</strong> to display only the most severe messages (level 25). The following<br />

Pre-<strong>Form</strong> trigger suppresses all messages at levels 20 and below.<br />

:System.Message_Level := ’20’;<br />

397

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

Saved successfully!

Ooh no, something went wrong!