📚 SAP Business One SDK Help

GetNextSelectedRow Method
See Also 
FirstRow
The first row from which to start searching (default is 0)
OrderType
The method for searching for the next selected row

Description

Returns the index of the first selected row within a specified range in the matrix.

Syntax

Visual Basic
Public Function GetNextSelectedRow( _
   Optional ByVal FirstRow As Long = 0, _
   Optional ByVal OrderType As BoOrderType = ot_SelectionOrder _
) As Long

Parameters

FirstRow
The first row from which to start searching (default is 0)
OrderType
ValueDescription
ot_SelectionOrderBy selection order, 0-based (default)
ot_RowOrderRow order, 1-based
The method for searching for the next selected row

Remarks

If no row is selected, the method returns -1.

If the FirstRow parameter is 0, selections are searched from the first row.

See Also