moveRelative method

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

Syntax
Boolean moveRelative( Int32 index )
Parameters

index   The number of rows to move. The value can be positive, negative, or zero.

Returns

true if successful.

false if unsuccessful. The method fails, for example, if there are no rows.

Remarks

Relative to the current position of the cursor in the result set, positive index values move forward in the result set, negative index values move backward in the result set and zero does not move the cursor.