Sign in Join
FPDoc Onlineexperiment

TMemDataset.GetRecordCount function

Member of TMemDatasetprotectedIn unit MemDs

Gets the value for the RecordCount property.

Declaration

pascal
function GetRecordCount: Integer; override

Function result

Value for the RecordCount property.

Description

GetRecordCount is an overridden Integer function used to get the value for the RecordCount property. GetRecordCount reimplements the method defined in the ancestor class. GetRecordCount is the read access specifier for the property.

GetRecordCount calls CheckActive to ensure that the dataset has been opened. An exception is raised when the Active property contains False.

Use RecordCount to read the value for the property.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.