RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomDataSetAdapter.GetRecordCount Method

Returns the value of the RecordCount property.

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

GetRecordCount is the protected read implementation of the RecordCount property. 

GetRecordCount first generates an OnGetRecordCount event, and returns the number of records that the event handler provides. If there is no OnGetRecordCount event handler, GetRecordCount returns the value of the associated dataset's RecordCount property. 

 

OnGetRecordCount 

RecordCount 

RecordCount

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