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

Constant

Value

 

 

 

 

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

 

 

crTransientMemoField

13

 

 

crUnknownField

22

SQLExpressionFieldDefinition Object

The SQLExpressionFieldDefinition Object represents a SQL expression field used in the report. This object provides properties for getting information on SQL expression fields in the report.

SQLExpressionFieldDefinition Object Properties

Property

Definition

Read/Write

Restriction in event handler

 

 

 

 

 

 

 

 

Kind

Returns CRFieldKind which

Read only

None

 

specifies what “kind” of

 

 

 

field (that is, database,

 

 

 

summary, formula, etc.).

 

 

 

 

 

 

Report Designer Component Object Model

115

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

Read only

None

 

field within the report

 

 

 

(table.FIELD). For

 

 

 

example,

 

 

 

product.PRODUCT ID.

 

 

NextValue

Returns field next value.

Read only

Can be read only when top-level

 

 

 

Report object is formatting active.

 

 

 

 

NumberOfBytes

Returns the number of

Read only

None

 

bytes required to store the

 

 

 

field data in memory.

 

 

 

 

 

 

Parent

Reference to the Parent

Read only

None

 

object Report Object

 

 

 

(page 93)).

 

 

PreviousValue

Returns field previous

Read only

Can be read only when top-level

 

value.

 

Report object is formatting active.

SQLExpression

Gets the SQL expression

Read only

None

FieldName

field name.

 

 

Text

Gets or sets SQL

Read/Write

Can be written only when

 

expression text.

 

formatting idle.

Value

Returns field value.

Read only

Can be read only when top-level

 

 

 

Report object is formatting active.

ValueType

Returns

Read only

None

 

CRFieldValueType (see

 

 

 

table below) which

 

 

 

specifies the “type” of

 

 

 

value found in the field.

 

 

Report Designer Component Object Model

116

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