Pages Collection

The Pages Collection is part of the Page Engine. Use the Page Engine when designing web sites using Active Server Pages, the Crystal Report Engine Automation Server, and the Crystal Design-Time ActiveX Control. Unless you are experienced with the Crystal Report Engine Object Model, you should allow the Crystal Design-Time ActiveX Control to generate VBScript code, in your Active Server Pages, to control the Page Engine objects.

The Page Engine generates pages of a report on the web server and sends the pages to client web browsers as they are requested. For example, when a user first requests a report, only the first page is sent to the web browser. If the user pages forward or backward in the report, or requests a specific page, only that page is sent. This limits the resources required by the web server and reduces download time for the client browser.

The Pages Collection is a collection of Page Object. Access a specific Page Object in the collection using the Item property.

Pages Collection Properties

Property Description Read/Write

Application

Returns a reference to the Application Object, that this object is associated with.

Read only

Count

Returns the number of page objects in the collection.

Read only

Item

Returns Page Object. Item has an index parameter that is a numeric, 1-based index (that is, Item (1)).

Read only

Parent

Reference to the Parent object (Report Object).

Read only

Report

Reference to Report Object.

Read only

Remarks

Instead of using the Item property as shown, you can reference a page directly (Pages (1), for example).



Seagate Software IMG Holdings, Inc.
http://www.seagatesoftware.com
Support services:
http://support.seagatesoftware.com