TcxDBFilterControl.GetFilterTextEx(string,string) Method
Returns the text representation of the filter criteria, defined by a filter control, with the fields’ names that are enclosed by the AFieldNamePrefix and AFieldNamePostfix delimiters.
Declaration
function GetFilterTextEx(const AFieldNamePrefix: string; const AFieldNamePostfix: string): string;
Parameters
Name | Type |
---|---|
AFieldNamePrefix | string |
AFieldNamePostfix | string |
Returns
Type |
---|
string |
Remarks
The GetFilterTextEx method forces the AFieldNamePrefix and AFieldNamePostfix delimiters to be used around the fields’ names if the fields of the underlying dataset contain spaces in their names. Which arguments should be passed into the method (for example, single quotes or square brackets) is dependent upon the type of the database used. If no delimiters are required pass the empty strings as arguments.
The AFieldNamePrefix parameter specifies a delimiter followed by the field’s name.
The AFieldNamePostfix parameter specifies a delimiter following the field’s name.