Data.DB.TFilterOption

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

TFilterOption = (foCaseInsensitive, foNoPartialCompare);

C++

enum DECLSPEC_DENUM TFilterOption : unsigned char { foCaseInsensitive, foNoPartialCompare };

Properties

Type Visibility Source Unit Parent
enum public
Data.DB.pas
Data.DB.hpp
Data.DB Data.DB

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.