RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomADODataSet.MaxRecords Property

Specifies how many rows to return in a result set.

Pascal
property MaxRecords: Integer;
C++
__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) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!