SetMessageStatus function

Syntax

SetMessageStatus(Message.MessageName, Status)

Description

Use the SetMessageStatus function to specify whether a message is active or inactive.

Parameters

Parameter Description

MessageName

Specify the name of the message definition that you want to change the status for. Prefix this name with the reserved word Message.

Status

Specify the status for the message. Valid values are:

  • %IB_Status_Active

  • %IB_Status_InActive

Returns

A Boolean value: true if the status is set correctly, false otherwise.