Redigera

Dela via


TestPart.FindFirstField(TestField, Any) Method

Version: Available or changed with runtime version 1.0.

Finds the first field in the data set that is displayed on a test page.

Syntax

[Ok := ]  TestPart.FindFirstField(Field: TestField, Value: Any)

Parameters

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

Field
 Type: TestField
The field to find.

Value
 Type: Any
The value of the field.

Return Value

[Optional] Ok
 Type: Boolean
true if the operation was successful; otherwise false. If you omit this optional return value and the operation does not execute successfully, a runtime error will occur.

TestPart Data Type
Get Started with AL
Developing Extensions