TcxFilterCriteria.FilterText Property
Specifies filter criteria (as an expression string).
Declaration
property FilterText: string read; write;
Property Value
Type | Description |
---|---|
string | The current filter criteria string. |
Remarks
Use the FilterText
property to specify filter criteria (as an expression string). The FilterCaption property returns the expression string’s display text (for the filter status bar).
Note
The FilterText
property uses wildcard characters defined in PercentWildcard and UnderscoreWildcard properties to parse filter expression strings.
Filter Expression Examples
Property | Value |
---|---|
FilterText |
'(State = 'CA') AND (PurchaseDate = '01-Mar-1976')' |
FilterCaption[1] | '(State = CA) AND (PurchaseDate = 01-Mar-1976)' |
FilterCaption[2] | '(State Equals CA) AND (PurchaseDate Equals 01-Mar-1976)' |
Default Value
The FilterText
property’s default value is an empty string.
Footnotes
-
The Options property is set to
[]
(default). -
The Options property value includes the fcoShowOperatorDescription flag.
See Also