EntityDAC

TCustomEntityDataSet.AddFieldExpression Method

Adds new field expression to the dataset.

Class

TCustomEntityDataSet

Syntax

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

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

Remarks

The method adds new field expression to the dataset. The expression has to be specified in the string format using rules described in the article. 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