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

SpecialVarFieldDefinition Object

The SpecialVarFieldDefinition Object provides properties for retrieving information and setting options for a special field found in your report (i.e., last modification date, print date, etc.). A SpecialVarFieldDefinition Object is obtained from the Field property of the FieldObject Object (page 45).

SpecialVarFieldDefinition Object Properties

Property

Description

Read/Write

Restriction in event handler

 

 

 

 

 

 

 

 

Kind

Returns CRFieldKind (see table

Read only

None

 

below) that specifies the “kind” of

 

 

 

field (database, summary,

 

 

 

formula, etc.).

 

 

Constant

Value

 

 

 

 

crDatabaseField

1

crFormulaField

2

 

 

crGroupNameField

5

 

 

crParameterField

6

 

 

crRunningTotalField

7

crSpecialVarField

4

 

 

crSQLExpressionField

8

 

 

crSummaryField

3

 

 

Property

Description

Read/Write

Restriction in event handler

 

 

 

 

 

 

 

 

Name

Returns the name of the special

Read only

None

 

var. field.

 

 

NextValue

Returns next field value.

Read only

Can be read only when top-

 

 

 

level Report object is

 

 

 

formatting active.

 

 

 

 

NumberOfBytes

Returns the number of bytes

Read only

None

 

required to store the field data in

 

 

 

memory.

 

 

 

 

 

 

Parent

Reference to the Parent object

Read only

None

 

(Report Object (page 93)).

 

 

PreviousValue

Returns previous field value.

Read only

Can be read only when top-

 

 

 

level Report object is

 

 

 

formatting active.

 

 

 

 

Report Designer Component Object Model

113

Property

Description

Read/Write

Restriction in event handler

 

 

 

 

 

 

 

 

SpecialVarType

Returns CRSpecialVarType (see

Read only

None

 

table below) value indicating the

 

 

 

type of special field (i.e.,

 

 

 

ReportTitle, PageNumber, etc.).

 

 

 

 

 

 

Constant

Value

 

 

 

 

crSVTDataDate

7

 

 

crSVTDataTime

8

 

 

crSVTFileAuthor

15

crSVTFileCreationDate

16

 

 

crSVTFilename

14

 

 

crSVTGroupNumber

6

 

 

crSVTGroupSelection

13

crSVTModificationDate

2

 

 

crSVTModificationTime

3

 

 

crSVTPageNofM

17

 

 

crSVTPageNumber

5

crSVTPrintDate

0

crSVTPrintTime

1

 

 

crSVTRecordNumber

4

 

 

crSVTRecordSelection

12

 

 

crSVTReportComments

11

crSVTReportTitle

10

 

 

crSVTTotalPageCount

9

 

 

Property

Description

Read/Write

Restriction in event handler

 

 

 

 

 

 

 

 

Value

Returns field value.

Read only

Can be read only when top-

 

 

 

level Report object is

 

 

 

formatting active.

ValueType

Returns CRFieldValueType (see

Read only

None

 

table below) which specifies the

 

 

 

“type” of value found in the field.

 

 

 

 

 

 

Constant

Value

 

 

 

 

crBitmapField

17

 

 

crBlobField

15

crBooleanField

9

 

 

Report Designer Component Object Model

114

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