Show: Delphi C++
Display Preferences

Data.SqlExpr.TCustomSQLDataSet.RecordCount

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property RecordCount: Integer read GetRecordCount;

C++

__property int RecordCount = {read=GetRecordCount, nodefault};

Properties

Type Visibility Source Unit Parent
property public
Data.SqlExpr.pas
Data.SqlExpr.hpp
Data.SqlExpr TCustomSQLDataSet

Description

Indicates the total number of records associated with the dataset.

Read RecordCount to determine the total number of records in the dataset. An application can read RecordCount even if the dataset is not active.

Reading RecordCount will generate an exception if the dataset can't determine the number of records. Do not read RecordCount if

The dataset represents stored procedure.

The dataset represents a query that contains parameters.

The dataset represents a multi-table join.

See Also

Personal tools
Translations