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::PageCount

long = recordsetobject.PageCount

The PageCount property returns a long value that is the number of pages of data contained in the Recordset object. After being called, this property will set the current record pointer to the first record on the last page.

If the provider does not recognize this property, a value of -1 will be returned.

You use the PageSize property to determine how many records will be displayed on each page.

Code (VBScript):
intPageCnt = rsChant.PageCount
rsChants.AbsolutePage = intPageCnt

 


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