TurboDB VCL Component Library

TTdbDataSet.FilterW

TTdbDataSet

Previous  Top  Next

Contains a Unicode expression used for filtering the records of the data set.

Delphi syntax:

property FilterW: WideString;

C++ syntax:

__property TTdbFieldDefs* FieldDefsTdb = {read=GetFieldDefsTdb, write=SetFieldDefsTdb};

Description

FilterW is only needed in Delphi 2007 and below.

In those former versions of Delphi Filter used to be an AnsiString and could not accept non-ANSI characters. FilterW is the Unicode version of Filter. Use FilterW to define a filter expression containing non-ANSI characters. FilterW is not published because the Object Inspector in those former versions did not support Unicode characters. Filter and FilterW depend on each other. If you assign a value to Filter, FilterW will change accordingly and vice versa. The FilterOptions determine, how the filter is applied.