Use this procedure/function to create a message window with an Ok button. This procedure does not return a value.
MSG (MsgLine1, MsgLine2, MsgLine3, Title)
Parameter |
Description |
MsgLine1 |
Enter the first line of the message. |
MsgLine2 |
Enter the second line of the message. |
MsgLine3 |
Enter the third line of the message. |
Title |
Enter a title for the message window. |
This procedure provides the user with information. The message window is created as a standard message window.
This procedure displays a message each time the script executes. Therefore, use this procedure only in scripts that execute once during entry. Do not use the MSG procedure for scripts that execute each time a user tabs to a new field.
Note | A DAL script executes once during entry. A DAL calc executes each time the user tabs to a new field. You make the DAL script or DAL calc designation in the Properties window. This is also useful in Documaker Desktop when debugging scripts. |
Here are some examples:
Procedure |
Result |
Explanation |
MSG ("Sample Line 1", "Sample Line 2", "Sample Line 3", "Sample Message") |
|
"Sample Message" is the title of the message. "Sample Line 1" "Sample Line 2" "Sample Line 3" is the message to the user. |
MSG ("Don't forget to inform the customer about the luxury tax.") |
|
The message appears without a title. |
© Copyright 2017, Oracle and/or its affiliates. All rights reserved. Legal Notices