Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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

Delphi
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.

See Also