pageSize Property (Scripting Object Model)

See Also      Tasks      Applies To

Specifies the number of records that the cursor position moves within the recordset when the "Previous" or "Next" button is pressed.

Syntax

object.pageSize[ =number]

Parameters

object

A RecordsetNavBar script object.

number

A positive integer.

Remarks

By default, the "Previous" and "Next" buttons of a RecordsetNavbar object move the cursor position by one record within the recordset. If the pageSize property is set to a number greater than one, the cursor position moves forward or backward by the number of records that the property specifies.