VistaDB 6
VistaDB.Extra Namespace / VistaDBDataTable Class / SetActiveIndex Method
Name of active index that pivots current row order
"Current row position"


In This Topic
    SetActiveIndex Method
    In This Topic
    Set active index in the current table
    Syntax
    'Declaration
     
    
    Public Function SetActiveIndex( _
       ByVal indexName As System.String, _
       ByVal selectedRow As System.Integer _
    ) As System.Boolean
    'Usage
     
    
    Dim instance As VistaDBDataTable
    Dim indexName As System.String
    Dim selectedRow As System.Integer
    Dim value As System.Boolean
     
    value = instance.SetActiveIndex(indexName, selectedRow)
    public System.bool SetActiveIndex( 
       System.string indexName,
       System.int selectedRow
    )

    Parameters

    indexName
    Name of active index that pivots current row order
    selectedRow
    "Current row position"
    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