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

Property

Description

Read/Write

 

 

 

 

 

 

Item

Returns DatabaseFieldDefinition Object (page 300). Item has an

Read only

 

index parameter that can be either a string reference to the database

 

 

field name or a numeric, 1-based index (that is, Item (1)) for the first

 

 

database field in the collection. When a numeric index is used, the

 

 

items in the collection are indexed in the order that they were added

 

 

to the report.

 

Remarks

Instead of using the Item property as shown, you can reference a database directly (for example, DatabaseFieldDefinition(“Product ID”) or DatabaseFieldDefinition(1)).

DatabaseParameter Object

The DatabaseParameter Object specifies a stored procedure in an SQL database or an Access parameterized query.

Database Parameter Object Properties

Property

Description

Read/Write

 

 

 

 

 

 

Application

Returns a reference to the Application Object (page

Read only

 

290), that this object is associated with.

 

 

 

 

Name

Returns the name of the parameter from the

Read only

 

parameterized query/stored procedure that the

 

 

report was created from.

 

 

 

 

Parent

Reference to the Parent object (Database Object (page

Read only

 

299)).

 

Report

Reference to Report Object (page 349).

Read only

 

 

 

Type

Returns CRFieldValueType (see table below), which

Read only

 

specifies the “type” of value found in the field.

 

 

 

 

 

 

 

 

Constant

Value

 

 

 

 

 

 

 

crBitmapField

17

 

 

 

 

crBlobField

15

 

crBooleanField

9

 

 

 

 

crChartField

21

 

 

 

 

crCurrencyField

8

 

 

 

 

crDateField

10

Crystal Report Engine Object Model for the Automation Server

303

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