Name

Recordset.next — move the recordset cursor on to the next row of the recordset

Synopsis

void Recordset.next ( );  

Description

Moves the cursor on to the next row of the recordset. The result is undefined if the cursor is already beyond the final row.

Example 71. Recordset.next Example

// Loop through the rows of a recordset
while(!rs.eof())
{
    // Do stuff with this row . . .

    rs.next();
}

See Also

Data sources and database access in RSP is explained in the section called “Accessing Databases”