TMedTable.HbOrdScope TMedTable

function HbOrdScope( nScope: Integer; expNewValue: Variant ): Variant; overload;

Description

Sets the new range (scope) value for dataset to expNewValue.

If nScope is 1 - scope start (top) value is set

If nScope is 2 - scope end (bottom) value is set

Returns the old scope (range) value for dataset.

Set scope value to '' to clear the scope.