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

CurrentKey := TestPage.Part.Filter.CURRENTKEY

Parameters

TestPage

Type: TestPage

The test page that displays the dataset.

Part

Type: Part

The control on the test page that contains the dataset.

Filter

Type: Filter

The filter that is applied to the dataset.

Property Value/Return Value

Type: Text

Returns a string that contains the current key.

See Also