To control the messages that end users see when they use a Oracle Forms application, you can:
Forms Runtime messages are ranked by severity. Use the SYSTEM.MESSAGE_LEVEL system variable to can control the minimum severity level that displays to end users.
There are six levels of message severity that you can affect, listed here in increasing order of severity.
Level |
Message Description |
---|---|
0 |
All types of messages from the other levels of severity. |
5 |
Reaffirms an obvious condition. |
10 |
Indicates that the end user has made a procedural mistake. |
15 |
Declares that the end user is attempting to perform a function for which the form is not designed. |
20 |
Indicates a condition where the end user cannot continue an intended action due to a problem with a trigger or another outstanding condition. |
25 |
Indicates a condition that could result in the form performing incorrectly. |
>25 |
Indicates a message severity level that you cannot suppress via the SYSTEM.MESSAGE_LEVEL system variable. |
Severity levels of individual Forms Runtime messages are labelled with "Level" in the Oracle Forms online help system.
To use On-Error and On-Message triggers to replace Forms Runtime messages, you need to be aware of the three types of Forms Runtime messages:
Informative Informs end users of the present state of processing (e.g., Last value retrieved.) or provides end users with context-sensitive guidance (e.g., Press [Accept] to enter answer.). Use the On-Message trigger to suppress the appearance of these messages.
Error Inform end users of error conditions that prevent the end user's actions (e.g., Function key not allowed. Press [Show Function Keys] for list of valid keys.). Use On-Error triggers to suppress the appearance of these messages. However, you cannot suppress error messages that appear on the command line (e.g., Too many arguments on command line.).
Working Inform end users that Oracle Forms currently is processing (e.g., Working...). You cannot use On-Error or On-Message triggers, or the SYSTEM.MESSAGE_LEVEL system variable to suppress these messages.
Message types of individual Forms Runtime messages are labelled with "Type" in the Form