SETCURRENTKEY
Collapse the table of content
Expand the table of content

SETCURRENTKEY Function (TestPage Filter)

Sets the specified fields in a dataset on a test page as the current key.

[Ok :=] TestPage.Filter.SETCURRENTKEY(Field1 [, Field2] ,...);

Parameters

TestPage
Type: TestPage

The test page that displays the dataset that contains the specified field.

Part
Type: Part

The control on the test page that contains the dataset.

Filter
Type: Filter

The filter that is applied to the dataset.

Field1
Type: Field

The field that you want to set as the current key.

Field2
Type: Field

Additional field that you want to set as the current key. This parameter is optional.

Type: Boolean

true if the current key was set; otherwise, false. This return value is optional.

You can select additional fields to be included as the current key.

Show:
© 2016 Microsoft