DB.TFilterOption
From RAD Studio VCL Reference
Delphi Information
From DB.pas
TFilterOption = { foCaseInsensitive, foNoPartialCompare };
Unit: DB
Type: enum
C++ Information
From DB.hpp
enum TFilterOption{ foCaseInsensitive, foNoPartialCompare };
Unit: DB
Type: enum
Description
TFilterOption and TFilterOptions influence how filter strings are applied.
TFilterOptions is a set that specifies how filter expressions are applied to string fields. It can contain zero or more of the following values:
| Value | Meaning |
|---|---|
|
foCaseInsensitive |
Literal strings in the filter are compared to string-valued fields case-insensitively. |
|
foNoPartialCompare |
Asterisks (*) in the filter are treated as literal characters rather than as wildcards. When filter options does not include foNoPartialCompare, strings that end in an asterisk signify a partial string match with the asterisk matching any number of characters. |