EntityDAC

TCustomEntityDataSet.AddFieldExpression Method

Adds new field expression to the dataset.

Class

TCustomEntityDataSet

Syntax

function AddFieldExpression(const FieldName: string; const Expression: TExpression; StrictReferences: boolean = False): TFieldExpression; overload;

Parameters
FieldName
Defines the name of the dataset field.
Expression
Defines the field expression.
StrictReferences
Return Value
Added field expression.

Remarks

The method adds new field expression to the dataset.

To delete the field expression, TCustomEntityDataSet.DeleteFieldExpression method is used. To clear all dataset field expressions, the TCustomEntityDataSet.ClearFieldExpressions method is used.

See Also

© 1997-2017 Devart. All Rights Reserved. Request Support DAC Forum Provide Feedback