Data.Win.ADODB.TCustomADODataSet.MaxRecords

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type: property
Visibility: published
Source:
Data.Win.ADODB.pas
Data.Win.ADODB.hpp
Unit: Data.Win.ADODB
Parent: TCustomADODataSet

Delphi

property MaxRecords: Integer read GetMaxRecords write SetMaxRecords default 0;

C++

__property int MaxRecords = {read=GetMaxRecords, write=SetMaxRecords, default=0};

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.

See Also