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

FormulaFieldDefinition Object Methods

Check Method (FormulaFieldObject), Page 53

Check Method (FormulaFieldObject)

The Check method checks formula for errors (syntax errors).

Syntax

object.Check(pBool As Boolean, ppErrorString As String)

Parameters

Parameter

Description

 

 

 

 

pBool

Pointer to the Boolean value indicating the condition of the formula string. Will be

 

set to TRUE if the formula is valid.

 

 

ppErrorString

Pointer to string containing the invalid formula.

 

 

Returns

Boolean. TRUE if formula is valid; FALSE if formula contains errors. You can use LastErrorCode and LastErrorString properties from the Report Object in order to obtain details when FALSE is returned.

FormulaFieldDefinitions Collection

The FormulaFieldDefinitions Collection is a collection of named formulas in the report. Access a specific FormulaFieldDefinition Object (page 50), in the collection using the Item property.

FormulaFieldDefinitions Collection Properties

Property

Description

Read/Write

Restriction in

event handler

 

 

 

 

 

 

 

 

 

 

 

Count

Returns the number of formula field definitions in the

Read only

None

 

collection.

 

 

 

 

 

 

Parent

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

Read only

None

 

 

 

 

Report Designer Component Object Model

53

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