Contents Index FindFirst method FindNext method

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

FindLast method


Prototype 

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

Description 

Move backwards through the table from the end, looking for a row that matches a value or set of values in the current index.

The current index is 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 for which you want to find the value. The cursor is left on the last row found that exactly matches the index value. On failure the cursor position is before the first row (BOF).

Note 
Requires that FindBegin be called prior to using this method.
Parameters 

num_columns    An optional parameter referring to the number of columns to be used in the FindLast. For example, if 2 is passed, the first two columns are used for the FindLast. If num_columns exceeds the number of columns indexed, all columns are used in FindLast.

Returns 

True if successful.

False if unsuccessful.


Contents Index FindFirst method FindNext method