GetScope

<< Click to Display Table of Contents >>

Navigation:  Apollo VCL Components > Apollo VCL Component Reference > TApolloTable > TApolloTable Methods >

GetScope

Declaration

function GetScope( iWhichScope: Integer ): String;

Description

Gets the original value of a scoping string passed to SetScope.

Parameters

iWhichScope: If passed as zero, the low scope value is returned. If iWhichScope is passed as one, the high scope value is returned.

Return Value

The original scope string is returned. If there is no corresponding scope set, a zero length string is returned.

Delphi Example

sLowVal := ApTbl.GetScope( 0 );

sHighVal := ApTbl.GetScope( 1 );

C++Builder Example

sLowVal = ApTbl->GetScope( 0 );

sHighVal = ApTbl->GetScope( 1 );

See Also

SetScope, ScopeBegin, Scoped, ScopeEnd