Gets the current key of a dataset that is displayed on a test page.

CurrentKey := TestPage.Part.Filter.CURRENTKEY

Parameters

TestPage

Type: TestPageThe test page that displays the dataset.
Part

Type: PartThe control on the test page that contains the dataset.
Filter

Type: FilterThe filter that is applied to the dataset.

Property Value/Return Value

Type: Text

Returns a string that contains the current key.

See Also