Home > Language Reference > Classes > Recordset
MoveNext Method
Moves the cursor to the next record.
Syntax
Public Sub MoveNext()
Remarks
The MoveNext method moves the cursor to the next record in a recordset, and initializes the values of the different fields with the values contained in the table.
If the cursor is moved to a position located after the last record, an error is raised. This can be avoided by checking whether the EOF property is not true.
If the recordset was in edit or insert mode before calling MoveNext, any modifications carried out are lost without raising any error or warning ; therefore the Update method should be used before calling MoveNext, in order to validate the modifications.
System requirements
| System | Minimal version | Remarks |
| Palm OS | Palm OS 3.0 | N/A |