Contents Index LookupBegin method MoveAfterLast method

UltraLite for MobileVB User's Guide
  UltraLite for MobileVB API Reference
    ULTable class

LookupForward method


Prototype 

LookupForward( [num_columns As Long = 32767 ] ) As Boolean
Member of UltraLiteAFLib.ULTable

Description 

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

The current index is that used to specify the sort order of the table. It is specified when your application calls the Open method. The default index is the primary key.

For more information, see Open method.

To specify the value to search for, 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 (that is, if no rows are greater than the value being looked for), the cursor position is after the last row (EOF).

Parameters 

num_columns    An optional parameter referring to the number of columns.

Returns 

True if successful.

False if unsuccessful.


Contents Index LookupBegin method MoveAfterLast method