RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
DB.TFilterOption Enumeration

TFilterOption and TFilterOptions influence how filter strings are applied.

Pascal
TFilterOption = (
  foCaseInsensitive,
  foNoPartialCompare
);
C++
enum TFilterOption {
  foCaseInsensitive,
  foNoPartialCompare
};

DB

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.  

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!