RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TDataSet.FindFirst Method

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

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

This function returns false, indicating that the active record was not successfully changed. Descendant classes override FindFirst to make the first record active, honoring any filters that are in effect. In descendant classes, FindFirst 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!