Redigera

Dela via


TestPart.GoToKey([Any,...]) Method

Version: Available or changed with runtime version 1.0.

Finds the row in a data set on the test page that is identified by the specified values.

Syntax

[Ok := ]  TestPart.GoToKey([Value: Any,...])

Parameters

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

[Optional] Value
 Type: Any
The value or list of values to use to find the row. If this parameter is omitted, the value of the primary key that is defined for the underlying table is used.

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