Data.DB.TFilterOption

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type: enum
Visibility: public
Source:
Data.DB.pas
Data.DB.hpp
Unit: Data.DB
Parent: Data.DB

Delphi

TFilterOption = (foCaseInsensitive, foNoPartialCompare);

C++

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

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.