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

 

Constant

Value

 

 

 

 

 

 

 

crAscendingOrder

1

 

 

 

 

crDescendingOrder

0

 

crOriginalOrder

2

 

 

 

 

crSpecifiedOrder

3

 

(Read only -- this value cannot be set.)

 

 

 

 

 

 

 

TopOrBottomNGroups

Returns/Sets the value of

Read/Write

 

CRTopBottomNGroupSortOrder (see table below)

 

 

indicating which section of groups will be shown

 

 

(that is, TopN groups, BottomN groups, all groups,

 

 

etc.).

 

Constant

Value

 

 

 

 

crAllGroupsSorted.

1

crAllGroupsUnsorted

0

 

 

crBottomNGroups

3

 

 

crTopNGroups

2

 

 

GroupNameFieldDefinition Object

The GroupNameFieldDefinition Object provides properties and methods for retrieving information and setting options for a group name field found in a report (that is, number of group, value type, etc.). A GroupNameFieldDefinition Object is obtained from the Field property of the FieldObject Object, Page 315, when the specified field is a group name field.

GroupNameFieldDefinition Object Properties

Property

Description

Read/Write

 

 

 

 

 

 

Application

Returns a reference to the Application Object (page 290), that

Read only

 

this object is associated with.

 

 

 

 

GroupNumber

Returns the group number of the specified group.

Read only

 

 

 

Kind

Returns CRFieldKind (see table below), which specifies

Read only

 

what “kind” of field (that is, database, summary, formula,

 

 

etc.).

 

 

 

 

Crystal Report Engine Object Model for the Automation Server

327

 

Constant

Value

 

 

 

 

 

 

 

crDatabaseField

1

 

 

 

 

crFormulaField

2

 

crGroupNameField

5

 

 

 

 

crParameterField

6

 

 

 

 

crSpecialVarField

4

 

 

 

 

crSummaryField

3

 

 

 

Name

Returns the name of the group name field.

Read only

NumberOfBytes

Returns the number of bytes required to store the field data in

Read only

 

memory.

 

 

 

 

Parent

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

Read only

 

 

 

Report

Reference to Report Object (page 349).

Read only

ValueType

Returns CRFieldValueType (see table below), which specifies

Read only

 

the “type” of value found in the field.

 

 

 

 

 

 

 

 

Constant

Value

 

 

 

 

 

 

 

crBitmapField

17

 

 

 

 

crBlobField

15

 

 

 

 

crBooleanField

9

 

crChartField

21

 

 

 

 

crCurrencyField

8

 

 

 

 

crDateField

10

 

 

 

 

crDateTimeField

16

 

crIconField

18

 

 

 

 

crInt16sField

3

 

 

 

 

crInt16uField

4

 

 

 

 

crInt32sField

5

 

 

 

 

crInt32uField

6

 

crInt8sField

1

 

 

 

 

crInt8uField

2

 

 

 

 

crNumberField

7

 

 

 

 

crOleField

20

 

crPersistentMemoField

14

 

 

 

 

crPictureField

19

 

 

 

 

crStringField

12

 

 

 

 

crTimeField

11

Crystal Report Engine Object Model for the Automation Server

328

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