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 - .NET Programming » UltraLite .NET 1.0 API Reference » ULTable class

FindFirst method Next Page

FindFirst method


Moves forward through the table from the beginning, looking for a row that exactly matches a value or partial set of values in the current index.

Syntax

Visual Basic

Overloads Public Function FindFirst( _
ByVal numColumns As Short _
) As Boolean

C#

public bool FindFirst(
short numColumns
);

Parameters
Return value

True if successful, false otherwise.

Remarks

To specify the value for which to search, set the column value for each column in the index. The cursor is left on the first row that exactly matches the index value. On failure, the cursor position is after the last row (ULDataReader.IsEOF).

Each search must be preceded by a call to FindBegin.

Exceptions
See also