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 - M-Business Anywhere Programming » UltraLite for M-Business Anywhere API Reference » ULTable class

 lookupForward method Next Page

lookupForwardForColumns method


Move forward through the table from the beginning, looking for a row that matches or is greater than a value or partial set of values in the current index.

Syntax

Boolean lookupForwardForColumns( UInt16 numColumns )

Parameters
Returns

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 matches or is greater than the index value. On failure (no rows greater than the value being looked for) the cursor position is after the last row (isEOF).

Each search must be preceded by a call to the lookupBegin method.