MoveNext

Description

Moves the cursor to the next record in the data set.

The Execute method positions the cursor before the first record in the result set (not at the first record). Before you can retrieve the data from the first record, you must call this method to advance the cursor to that record.

Syntax

VBScript


fetchStatus = resultset.MoveNext 

Perl


$fetchStatus = $resultset->MoveNext(); 
Identifier
Description
resultset
A ResultSet object, representing the rows and columns of data resulting from a query.
Return value
A Long whose value is a FetchStatus enumeration constant indicating whether the cursor movement was successful.