MESSAGE

Constructs and returns one or more messages using MsgAppSp.

At run time, the system evaluates the message ID argument (msgID below) and then each parameter argument. The system then passes these values to the MsgAppSp stored procedure in the current application database.

MsgAppSp uses the message ID and current language ID of the session where the event handler is running to look up the message text (as defined on the Maintain Application Message Objects form). The system then replaces the value of each substitution parameter marker in the message text with the value of each parameter in consecutive order.

Return Value

String

Syntax

MESSAGE( msgID [, msgParam1, msgParam2, ...] )

where:


Related Topics

About Application Message Construction

Maintain Application Messages form

Maintain Application Message Objects form