FireDAC.Stan.Option.TFDRecordCountMode
Delphi
TFDRecordCountMode = (cmVisible, cmFetched, cmTotal);
C++
enum DECLSPEC_DENUM TFDRecordCountMode : unsigned int { cmVisible, cmFetched, cmTotal };
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
enum | public | FireDAC.Stan.Option.pas FireDAC.Stan.Option.hpp |
FireDAC.Stan.Option | FireDAC.Stan.Option |
Description
Specifies the values used to control how TFDDataSet counts the number of records in the result set.
Name | Description |
---|---|
cmVisible |
TDataSet.RecordCount returns the number of records currently accessible through the TDataSet navigation interface. For example, all these records are accessible to a user using associated TDBGrid.
|
cmFetched | TDataSet.RecordCount returns the number of fetched records at the current time.
|
cmTotal |
TDataSet.RecordCount returns the number of records, which will be returned by the command. For this, FireDAC issues
|