Quick References
      ADO
      ASP
      CSS2
      HTML
      JavaScript
      Jet SQL
      VBScript
      WML
      WMLScript
      WSH
      XHTML
      XML DOM
      XSLT

Features
      Knowledge Base
      Tutorials

Partners
     ZVON.ORG
     XML
     Planet Source Code
     VisualBuilder
     Web Design
     Your HTML Source
     XML/XSLT Forums
     ASPAlliance
     Scripts
     
     Programmers Heaven
     Tek-Tips Forums
     Developer Fusion
     Code Project











PROPERTY:  Recordset::PageSize

long = recordsetobject.PageSize
recordsetobject.PageSize = long


The PageSize property returns a long value that defines the maximum number of records that can be displayed on a single page in the Recordset object. You can set this property at any time, regardless if the Recordset is open or closed.

Some providers do not recognize this property.

You use the PageCount property to determine how many pages of data are contained in the Recordset object. When you set the PageSize property, the PageCount property is implicitly updated.

Code (VBScript):
objRecordset.PageSize = intPageSize
objRecordset.AbsolutePage = 1

 


Copyright 1999-2005 by Infinite Software Solutions, Inc. All rights reserved.
Trademark Information