getRowNo

Syntax

<Path>.getRowNo(RowIndex:any) → integer

The method getRowNo searches for the row which contains a user-defined row index of the DataTable designated by <Path>. It returns the row number. If the row index does not exist, Plant Simulation returns -1.

Note:

If the table contains a large number of entries, you might want to activate Fast index access.

Parameter

The parameter RowIndex of data type any designates the row index which Plant Simulation searches.

Note:

The method only works for simple data types, such as string, integer, etc.

Return Value

The return value has the data type integer.

Example

MyDataTable.getRowNo("article1234")

Related Topics

getColumnNo

FastAccessColumnIndex

FastAccessRowIndex