Добавил:
Upload Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
Скачиваний:
191
Добавлен:
11.05.2015
Размер:
4.96 Mб
Скачать

Parameters

Direction

Specifies CRSearchDirection (see table below) indicating the direction to sort in.

 

 

 

 

 

 

 

Constant

Value

 

 

 

 

 

 

 

crAscendingOrder

1

 

 

 

 

crDescendingOrder

0

 

crOriginalOrder

2

 

 

 

 

 

PageNumber

Specifies the page to start searching in and returns the page number of the first

 

occurrence of the sought-after text.

 

 

 

Text

Specifies the text string being searched for.

Pages Collection (32-bit only)

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. For complete information on using the automation server and ActiveX control to build web sites, see Building Active Web Sites, Volume 1, Chapter 2. 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 (32-bit only), Page 330. 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 (page 290), that this

Read only

 

object is associated with.

 

 

 

 

Count

Returns the number of page objects in the collection.

Read only

 

 

 

Item

Returns Page Object (32-bit only) (page 330). Item has an index

Read only

 

parameter that is a numeric, 1-based index (that is, Item (1)).

 

 

 

 

Parent

Reference to the Parent object (Report Object (page 349)).

Read only

Report

Reference to Report Object (page 349).

Read only

 

 

 

Crystal Report Engine Object Model for the Automation Server

337

Соседние файлы в папке crystal