Data.Win.ADODB.TCustomADODataSet.MaxRecords
Delphi
property MaxRecords: Integer read GetMaxRecords write SetMaxRecords default 0;
C++
__property int MaxRecords = {read=GetMaxRecords, write=SetMaxRecords, default=0};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | published | Data.Win.ADODB.pas Data.Win.ADODB.hpp |
Data.Win.ADODB | TCustomADODataSet |
Description
Specifies how many rows to return in a result set.
Use MaxRecords to control the number of rows the provider for the ADO dataset component returns from the data source. Set MaxRecords to indicate the maximum number of rows. The default value for MaxRecords is 0 (zero), which places no limits on the result set.