Table of Contents

TTMSFNCFilterBuilderGroup Class

Represents a group of filter expressions and nested groups.

API unit family: TMS.TMSFNCFilterBuilder Inherits from: TPersistent

Syntax

TTMSFNCFilterBuilderGroup = class(TPersistent)

Properties

Name Description
DataBoolean When True, custom Boolean data associated with the group is set.
DataInteger Gets or sets custom integer data associated with the group.
DataObject Gets or sets custom object data associated with the group.
DataPointer Gets or sets custom pointer data associated with the group.
DataString Gets or sets custom string data associated with the group.
Expressions Gets or sets the expressions in this group.
FilterText Gets the group as formatted filter text.
GroupOperator Gets or sets the logical operator used to combine child expressions and groups.
Groups Gets or sets the nested groups in this group.

Methods

Name Description
AddANDGroup Adds a nested group that combines children with AND.
AddExpression Adds an empty expression to the group.
AddGroup Adds a nested group.
AddORGroup Adds a nested group that combines children with OR.
Clear Removes all nested groups and expressions from the group.
DoGetFilterBuilder Raises the event that resolves the owning filter builder.
GetBuilder Returns the filter builder that owns this group.
GetGroupOperatorText Returns the textual operator used by this group.
ValidateFilter Validates one input row against the group.

Events

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