Microsoft SDK for Java

DataNavigator.moveNext

Moves the underlying recordset to the next record.

Syntax

protected void moveNext( Recordset recordset )

Parameters

recordset

A Recordset object that represents the underlying recordset.

Remarks

This method is invoked when the user presses the button to move to the next record. Note that if the last record is current when moveNext is called, the position of the recordset will remain unchanged.

You can override moveNext to add your own error handling or additional behavior.

See Also   moveFirst, moveLast, movePrevious

© 1999 Microsoft Corporation. All rights reserved. Terms of use.