Sun
ONE Active Server Pages Product Home Page Developer Site Version
 

ContentsPreviousNextIndex



ADO Recordset Object PageSize Property

The number of records that constitute one page in the recordset.

PageSize Property Return Values (ADO Recordset Object)

Sets or returns a Long value, the number of records on a page. Default is 10.

PageSize Property Remarks (ADO Recordset Object)

Use the PageSize property to determine how many records make up a logical page of data. Establishing a page size allows you to use the AbsolutePage property to move to the first record of a particular page. This is useful in Web-server scenarios when you want to allow the user to page through data, viewing a certain number of records at a time.

This property can be set at any time, and its value will be used for calculating where the first record of a particular page is.

PageSize Property Example (ADO Recordset Object)

See the AbsolutePage property example.



ContentsPreviousNextIndex