AUDITMESSAGE keyword

Applies To

Event handlers of the type Add entry to the Audit Log.

Property: Event handler parameters

Description

Contains a text message that, together with an existing audit log message, is inserted as an entry in the audit log when an event handler executes.

Syntax

AUDITMESSAGE( description )

Part Description
description Expression that evaluates to a string.

Remarks

You view the audit log in the Audit Log form. Audit log entries consist of four parts: log description, message type, message description, and user name. The AUDITMESSAGE keyword provides a text message specific to your event handler. The message type and message description of a log entry are parts of a stored, global message.

Example

The following event handler parameter inserts the text "Form closed" in the Log Desc field of the audit log when the event fires:

AUDITTYPE(3) AUDITMESSAGE(Form closed)

Related topics