EntityDAC

TCustomEntityDataSet.AddFieldExpression Method

Adds new field expression to the dataset.

Class

TCustomEntityDataSet

Syntax

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

Parameters
Expression
Defines the field expression.
StrictReferences
Return Value
Added field expression.

Remarks

The method adds new field expression to the dataset. The name of the dataset field being created will be set automatically, according to the specified expression. To explicitly specify the name for the resulting field, overloaded AddFieldExpression methods can be used. 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