RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TDataSet.FindLast Method

Implements a virtual method for positioning the dataset on the last record, respecting any filters.

Pascal
function FindLast: Boolean;
C++
__fastcall Boolean FindLast();

This function returns false, indicating that the active record was not successfully changed. Descendant classes override FindLast to make the last record active, honoring any filters that are in effect. In descendants, FindLast returns true if the active record is successfully changed. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!