RAD Studio VCL Reference
TCustomADODataSet.MaxRecords Property

Specifies how many rows to return in a result set.

property MaxRecords: Integer;
__property int MaxRecords;

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. 


Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!