Top Previous Next

Implements a virtual method for positioning the cursor on the last record in a filtered dataset.


function FindLast: Boolean;


This function returns False, indicating that the cursor was not successfully repositioned. Descendant classes override FindLast to position the cursor on the last record of the dataset, honoring any filters that are in effect. FindLast should return True if the cursor is successfully repositioned.

Delphi 7 and prior has poor support for int64 values in variant type. This means that you'll be unable to use Locate() and similar methods with such fields. Lookup fields will not work proper too due to their dependence on Locate() method. Please update your IDE to BDS 2006 or don't use bigint (int8) and bigserial datatypes for keys and indexes if you need to use them in lookup fields.