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

Parameter

Description

 

 

 

 

 

 

 

ResultType

Returns CRRenderResultType (see table below) indicating whether the page will

 

be rendered using strings or arrays.

 

 

 

 

Constant

Value

 

 

 

 

 

 

 

crBSTRType

8

 

crUISafeArrayType

8209

 

 

 

 

 

 

Parameter

Description

 

 

 

 

 

RootGroupPath

Specifies an integer array that represents the root group path (separated by “/”).

 

An empty array would represent the entire report, an array (0, 1) would represent

 

a drill down on the second group member within the first group member (that is,

 

0 = first group in Group #1 and 1 = second group in Group #2).

StartingChild

Long

 

Number

 

 

 

 

 

SearchForText Method (PageGenerator Object)

The SearchForText method searches for the given text, starting on the given page. If the text is found, the PageNumber is set to the number of the page on which it was found. Returns a Boolean value indicating if text was found. This method can be invoked only when in formatting idle mode.

Syntax

Boolean = object.SearchForText (Text, Direction, PageNumber)

Parameters

Parameter

 

Description

 

 

 

 

 

 

 

 

 

Direction

 

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

 

 

 

 

 

 

 

 

 

 

Constant

Value

 

 

 

 

 

 

 

 

 

 

crBackward

1

 

 

 

 

 

 

crForward

0

 

 

 

 

 

 

 

 

Parameter

 

Description

 

 

 

 

 

 

 

PageNumber

 

Specifies the page the 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.

 

 

 

 

Report Designer Component Object Model

82

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