ScopeBegin

<< Click to Display Table of Contents >>

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

ScopeBegin

Declaration

property ScopeBegin: String;

Description

Gets or sets the the low (top) Scope value used when the Scoped property is True. This value must be of equal or less value than the corresponding ScopeEnd value.

Delphi Example

// Display all records where LASTNAME starts with A through C

ApTbl.IndexName := 'LASTNAME';

ApTbl.ScopeBegin := 'A';

ApTbl.ScopeEnd := 'C';

ApTbl.Scoped := True;

 

// Display all records where AGE (a NUMERIC field) is from 25 to 35

ApTbl.IndexName := 'AGE';

ApTbl.ScopeBegin := IntToStr(25);

ApTbl.ScopeEnd := IntToStr(35);

ApTbl.Scoped := True;

C+Builder Example

 

// Display all records where LASTNAME starts with A through C

ApTbl->IndexName = "LASTNAME";

ApTbl->ScopeBegin = "A";

ApTbl->ScopeEnd = "C";

ApTbl->Scoped = TRUE;

 

// Display all records where AGE (a NUMERIC field) is from 25 to 35

ApTbl->IndexName = "AGE";

ApTbl->ScopeBegin = IntToStr(25);

ApTbl->ScopeEnd = IntToStr(35);

ApTbl->Scoped = TRUE;

See Also

Scoped, ScopeEnd, GetScope, SetScope