Table of Contents

TTMSFNCFilterBuilderExpression Class

Represents one filter condition for a column and value.

API unit family: TMS.TMSFNCFilterBuilder Inherits from: TPersistent

Syntax

TTMSFNCFilterBuilderExpression = class(TPersistent)

Properties

Name Description
CaseSensitive Gets or sets whether text comparisons are case-sensitive.
Column Gets or sets the column evaluated by the expression.
DataBoolean Gets or sets custom Boolean data associated with the expression.
DataInteger Gets or sets custom integer data associated with the expression.
DataObject Gets or sets custom object data associated with the expression.
DataPointer Gets or sets custom pointer data associated with the expression.
DataString Gets or sets custom string data associated with the expression.
Expression Gets the expression as formatted filter text.
ExpressionOperator Gets or sets the comparison operator used by the expression.
IsInverted Gets or sets whether the expression result is inverted.
ParentGroup Gets the group that owns this expression.
Value Gets or sets the value compared by the expression.

Methods

Name Description
DoGetFilterBuilder Raises the event that resolves the owning filter builder.
GetBuilder Returns the filter builder that owns this expression.
GetColumnDisplayName Returns the display name of the assigned column.
GetColumnName Returns the internal name of the assigned column.
GetValueDataType Returns the effective data type of the expression value.
SetColumnByName Assigns the expression column by internal column name.
ValidateExpression Validates an input value against this expression.

Events

Name Description
OnGetFilterBuilder Occurs when the expression needs to resolve its owning filter builder.