AUDITTYPE keyword

Applies To

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

Property: Event handler parameters.

Description

Specifies an existing message to be added to the audit log when the event handler executes.

Syntax

AUDITTYPE( TypeNumber )

Part Description
TypeNumber Expression that evaluates to an integer. The integer must correspond to a message type number in the Audit Log Types form.

Remarks

You view and create messages in the Audit Log Types form. Each message has a unique message type number, which serves as its identifier in event handlers.

Example

The following event handler parameter inserts a log entry of Message Type 3 in the audit log when the event fires:

AUDITTYPE(3) AUDITMESSAGE(Form closed)

Related topics