Moves the specified result set to the next row and returns whether there is a next row.
Syntax
next( resultset )
resultset.next( )
Parameters
resultset
|
the result set object to use.
|
Returns
boolean
|
true if there is a new current row.
false if there are no more rows.
|
Example
if !rs.next( ) then
break
end
|