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

SortFields Collection Methods

Add Method (SortFields Collection), Page 112

Delete Method (SortFields Collection), Page 112

Add Method (SortFields Collection)

The Add method adds a record or group sort field.

Syntax

Sub Add(pFieldDefinition As IFieldDefinition, SortDirection As

CRSortDirection)

Parameters

Parameter

Description

 

 

 

 

pFieldDefinition

Specifies the field definition or field name.

 

 

SortDirection

Specifies CRSortDirection (see table below) indicating the direction the field

 

data should be sorted (that is, ascending, descending, etc.).

 

 

Constant

Value

 

 

 

 

crAscendingOrder

0

 

 

crDescendingOrder

1

 

 

Delete Method (SortFields Collection)

The Delete method deletes a record or group sort field.

Syntax

Sub Delete(index As Long)

Parameter

Parameter

Description

 

 

 

 

index

Number indicating which sort field in the collection should be deleted. Numbering

 

begins at 1 for the first sort field.

 

 

Report Designer Component Object Model

112

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