RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TDefaultFieldsPagedAdapter.GetRecordCount Method

Returns the total number of records.

Pascal
function GetRecordCount: Integer; virtual;
C++
virtual __fastcall int GetRecordCount();

GetRecordCount calls the OnGetRecordCount event handler. Descendant classes may override this method. For example, TDataSetAdapter returns the number of records in the dataset. 

 

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