ExpressionEdit.CheckExpression

Syntax

ControlName_CheckExpression( errorCode, errorDescription, errorStartPosition, errorEndPosition)

Applies To

ExpressionEdit

Purpose

Occurs when the control checks the expression for errors.

Remarks

The initial values of the event parameters indicate whether the control detected an error in the expression. Use the event to evaluate, modify, or ignore the error or to perform and report additional expression checking on the expression.

Parameters

errorCode As TSError

[In/Out] Specifies the error code for an error that exists in the expression.

errorDescription As String

[In/Out] Specifies the error description for an error that exists in the expression.

errorStartPosition As Long

[In/Out] Specifies the starting index of the error when an error exists in the expression.

errorEndPosition As Long

[In/Out] Specifies one character past the ending index of the error when an error exists in the expression.