Export (0) Print
Expand All
Expand Minimize

MaxRecords Property (ADO)

Indicates the maximum number of records to return to a Recordset from a query.

Sets or returns a Long value that indicates the maximum number of records to return. Default is zero (0), which means no limit.

Use the MaxRecords property to limit the number of records that the provider returns from the data source. The default setting of this property is zero, which means the provider returns all requested records.

The MaxRecords property is read/write when the Recordset is closed and read-only when it is open.

Show:
© 2014 Microsoft