Home > Contents > Index >
Expanded TOC   |    Accordion TOC   |    Annotated TOC   |    Index

 

IList.currentRow

Returns the row number of the current row.

Syntax

Description

The currentRow method returns the number of the current row. Rows are numbered from 1 to M, with M representing the total number of rows in the specified list.

Returns

Returns the current row number or -1 if there is no current row. For example, if hasData is false, there would be no current row, so currentRow would return -1.

Example

The following code accesses the current row while iterating through a list:

See Also

hasData

 

  Home > Contents > Index >

FatWire JAVA Reference
Copyright 2005 by FatWire Software
All rights reserved.