Microsoft SDK for Java

getPageSize

The getPageSize and setPageSize methods of the Recordset class indicate or set how many records constitute one page in the Recordset, respectively.

Syntax

public int getPageSize();
public void setPageSize(int pageSize);

Return Value

Sets or returns a value indicating how many records are on a page. The default is 10.

Parameters

pageSize The desired number of records on a page.

© 1999 Microsoft Corporation. All rights reserved. Terms of use.