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

SQL Anywhere 11.0.0 » UltraLite - .NET Programming » UltraLite .NET 2.0 API Reference » ULDataReader class


MoveRelative method

UL Ext.: Positions the cursor relative to the current row.

Visual Basic

Public Function MoveRelative( _
   ByVal offset As Integer _
) As Boolean

public bool MoveRelative(
   int offset
  • offset¬†¬† The number of rows to move. Negative values correspond to moving backward.

Return value

True if successful, false otherwise. For example, the method fails if it positions beyond the first or last row.


If the row does not exist, the method returns false, and the cursor position is after the last row (ULDataReader.IsEOF) if

offset is positive, and before the first row (ULDataReader.IsBOF) if the

offset is negative.

See also