ErrorInfo.ControlName([Text]) Method

Version: Available or changed with runtime version 8.0.

Specifies the control name that the error relates to.

Syntax

[ControlName := ]  ErrorInfo.ControlName([ControlName: Text])

Note

This method can be invoked using property access syntax.

Parameters

ErrorInfo
 Type: ErrorInfo
An instance of the ErrorInfo data type.

[Optional] ControlName
 Type: Text
The control name of the ErrorInfo

Return Value

[Optional] ControlName
 Type: Text
The current control name of the ErrorInfo.

ErrorInfo Data Type
Get Started with AL
Developing Extensions