Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 10.0.1 » UltraLite - AppForge Programming » UltraLite for AppForge API Reference » ULResultSet class

MovePrevious method Next Page

MoveRelative method


Moves a certain number of rows relative to the current row.

Syntax

MoveRelative( index As Long ) As Boolean
Member of UltraLiteAFLib.ULResultSet

Parameters

index    The number of rows to move. The value can be positive, negative, or zero. Relative to the current position of the cursor in the resultset, positive index values move forward in the resultset, negative index values move backward in the resultset, and zero does not move the cursor.

Returns

True if successful.

False if unsuccessful. For example, if there are no rows, the method fails.