VistaDB 6
VistaDB.DDA Namespace / IVistaDBTable Interface / SetScope Method / SetScope(String,String) Method
The string expression specifying column values for the lower scope key. Example syntax: "ColumnName1: numericValue; ColumnName2: 'stringValue'; ColumnName3: 'dateTimeValue'"
The string expression specifying column values for the upper scope key. Example syntax: "ColumnName1: numericValue; ColumnName2: 'stringValue'; ColumnName3: 'dateTimeValue'"


In This Topic
    SetScope(String,String) Method
    In This Topic
    Set the scope for the table to constrain the range of rows under the ActiveIndex with string arguments expressing values for each column of the active index defining the lower and upper bounds of the scope.
    Syntax
    'Declaration
     
    
    Overloads Sub SetScope( _
       ByVal lowKeyExpression As System.String, _
       ByVal highKeyExpression As System.String _
    ) 
    'Usage
     
    
    Dim instance As IVistaDBTable
    Dim lowKeyExpression As System.String
    Dim highKeyExpression As System.String
     
    instance.SetScope(lowKeyExpression, highKeyExpression)
    void SetScope( 
       System.string lowKeyExpression,
       System.string highKeyExpression
    )

    Parameters

    lowKeyExpression
    The string expression specifying column values for the lower scope key. Example syntax: "ColumnName1: numericValue; ColumnName2: 'stringValue'; ColumnName3: 'dateTimeValue'"
    highKeyExpression
    The string expression specifying column values for the upper scope key. Example syntax: "ColumnName1: numericValue; ColumnName2: 'stringValue'; ColumnName3: 'dateTimeValue'"
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also