Using RecNo :

 Adottable2.RecNo := node.SelectIndex; 

    2 answers 2

    Judging by the name of the object, Adottable2 uses the TADOTable component. He is the heir to TDataSet . TDataSet.RecNo - line number of the query result in the data source.

      RecNo - record number in the data set (whether it is a table (ADOTable, Table) or a query (ADOQuey, Quey), etc.)