Skip to main content

ExpressDataController: Resource Strings

  • 10 minutes to read

This topic describes the resource strings used by the ExpressDataController in message boxes when errors occur. Refer to the Resource Strings topic for general information on their use.

The ExpressDataController uses the resource strings declared in the units listed below. Click a unit link to jump to the corresponding section of the topic for details.

  • cxDataConsts

  • cxFilterConsts

cxDataConsts unit:

Resource identifier

Value

Description

cxSDataCustomDataSourceInvalidCompare

‘GetInfoForCompare not implemented’

In provider mode, you are able to implement a faster comparison operation for values in a custom data source. You need to override two methods: IsNativeCompare and GetInfoForCompare. If the IsNativeCompare function returns True, but GetInfoForCompare is not implemented, a data controller generates the current error.

cxSDataItemIndexError

‘ItemIndex out of range’

Specifies the error message which occurs when you pass an invalid item index in any data controller’s member.

Valid item indexes belong to the range from 0 to DataController.ItemCount - 1.

cxSDataRecordIndexError

‘RecordIndex out of range’

The error message which occurs when a specific record index does not address any valid record in a data controller.

Valid record indexes belong to the range from 0 to DataController.RecordCount - 1.

cxSDataRowIndexError

‘RowIndex out of range’

The error message which occurs when a specific row index does not address any valid record in a data controller.

Valid row indexes belong to the range from 0 to DataController.RowCount - 1.

cxSDBNotInGridMode

‘DataController not in GridMode’

In default mode, (grid mode is disabled), using the DataController.GetSelectedBookmark function generates this error.

Use the GetSelectedBookmark function to access selected records only in grid mode. In default mode, see the view’s Controller.SelectedRecords property.

cxFilterConsts unit:

Resource identifier

Value

Description

cxSFilterAndCaption

‘and’

Denotes the AND filter operator in the text string representing the current filter criteria in the Filter and Prefilter panels.

cxSFilterBlankCaption

‘blank’

Used to represent NULL values in the Filter and Prefilter panels if the TcxFilterCriteria.Options property does not contain the fcoShowOperatorDescription flag.

cxSFilterBoxAllCaption

‘(All)’

Specifies the caption for the element in the filter dropdown list used to remove filter conditions set for a specific column.

cxSFilterBoxBlanksCaption

‘(Blanks)’

If any column cell contains a NULL value, the column’s filter dropdown list displays the element represented by the cxSFilterBoxBlanksCaption string. Selecting this element applies the following filter condition to data:

ColumnValue = NULL

See the TcxFilterValueList topic for more information.

Note

empty strings are considered as NULL values if the fcoSoftNULL option is set to True.

cxSFilterBoxCustomCaption

‘(Custom…)’

Specifies the caption for an element in the filter dropdown list. Selecting this element activates the filter dialog, which allows you to visually specify filter criteria.

See the Runtime Filtering section for more information.

cxSFilterBoxNonBlanksCaption

‘(NonBlanks)’

If any column cell contains a non-NULL value, the column’s filter dropdown list displays the element represented by the cxSFilterBoxNonBlanksCaption string. Selecting this element applies the following filter condition to data:

ColumnValue <> NULL

See the TcxFilterValueList topic for more information.

Note

empty strings are considered as NULL values if the fcoSoftNULL option is set to True.

cxSFilterNotCaption

‘not’

Represents the NOT filter operator (as part of the ‘NOT OR’ and ‘NOT AND’ Boolean operators) in the Filter and Prefilter panels.

cxSFilterOperatorBeginsWith

‘begins with’

Denotes the following filter operators in string representations of criteria conditions.

  • The ‘BEGINS WITH’ operator;

  • The LIKE operator whose operand is a string that ends with the PercentWildcard character (‘A%’, for instance). This representation is in effect if the TcxFilterCriteria.Options property contains the fcoShowOperatorDescription flag.

cxSFilterOperatorBetween

‘between’

Represents the BETWEEN filter operator in the Filter Builder dialog and the Filter and Prefilter panels.

cxSFilterOperatorContains

‘contains’

Represents the following filter operators in the Filter and Prefilter panels:

  • The CONTAINS operator;

  • The LIKE operator whose operand is a string that starts and ends with the PercentWildcard character (‘%tax%’, for instance). This representation is in effect if the TcxFilterCriteria.Options property contains the fcoShowOperatorDescription flag.

cxSFilterOperatorDoesNotBeginWith

‘does not begin with’

Represents the ‘NOT LIKE’ filter operator whose operand is a string that ends with the PercentWildcard character (‘A%’, for instance). This representation is in effect if the TcxFilterCriteria.Options property contains the fcoShowOperatorDescription flag.

cxSFilterOperatorDoesNotContain

‘does not contain’

Represents the following filter operators in the Filter and Prefilter panels:

  • The ‘NOT CONTAINS’ operator;

  • The ‘NOT LIKE’ operator whose operand is a string that starts and ends with the PercentWildcard character (‘%tax%’, for instance). This representation is in effect if the TcxFilterCriteria.Options property contains the fcoShowOperatorDescription flag.

cxSFilterOperatorDoesNotEndWith

‘does not end with’

Represents the ‘NOT LIKE’ filter operator whose operand is a string that starts with the PercentWildcard character (‘%list’, for instance). This representation is in effect if the TcxFilterCriteria.Options property contains the fcoShowOperatorDescription flag.

cxSFilterOperatorEndsWith

‘ends with’

Represents the following filter operators in the Filter and Prefilter panels:

  • The ‘ENDS WITH’ operator;

  • The LIKE operator whose operand is a string that starts with the PercentWildcard character (‘%list’, for instance). This representation is in effect if the TcxFilterCriteria.Options property contains the fcoShowOperatorDescription flag.

cxSFilterOperatorEqual

‘equals’

Represents the = filter operator in the Custom Filter and Filter Builder dialogs.

This string is also used to represent the operator in the Filter and Prefilter panels, if the TcxFilterCriteria.Options property contains the fcoShowOperatorDescription flag.

cxSFilterOperatorGreater

‘is greater than’

Represents the > filter operator in the Custom Filter and Filter Builder dialogs.

This string is also used to represent the operator in the Filter and Prefilter panels, if the TcxFilterCriteria.Options property contains the fcoShowOperatorDescription flag.

cxSFilterOperatorGreaterEqual

‘is greater than or equal to’

Represents the >= filter operator in the Custom Filter and Filter Builder dialogs.

This string is also used to represent the operator in the Filter and Prefilter panels, if the TcxFilterCriteria.Options property contains the fcoShowOperatorDescription flag.

cxSFilterOperatorInFuture

‘is in future’

Represents the corresponding filter operator in the Filter Builder dialog and the Filter and Prefilter panels.

This operator can be applied only to date values.

cxSFilterOperatorInList

‘in’

Represents the IN (also called ‘membership test’) filter operator in the Filter Builder dialog and the Filter and Prefilter panels.

cxSFilterOperatorInPast

‘is in past’

Represents the corresponding filter operator in the Filter Builder dialog and the Filter and Prefilter panels.

This operator can be applied only to date values.

cxSFilterOperatorIsNotNull

‘is not blank’

The Custom Filter and Filter Builder dialogs allow you to create a filter condition of type:

Item<>NULL

Only records containing non-NULL values in this item are selected.

The cxSFilterOperatorIsNotNull string represents the ‘<>NULL’ operator in these dialogs.

This string is also used to represent the operator in the Filter and Prefilter panels, if the TcxFilterCriteria.Options property contains the fcoShowOperatorDescription flag.

cxSFilterOperatorIsNull

‘is blank’

The Custom Filter and Filter Builder dialogs allow you to create a filter condition of type:

Item=NULL

Only records containing NULL values in this item are selected.

The cxSFilterOperatorIsNotNull string represents the ‘=NULL’ operator in these dialogs.

This string is also used to represent the operator in the Filter and Prefilter panels, if the TcxFilterCriteria.Options property contains the fcoShowOperatorDescription flag.

cxSFilterOperatorLast7Days

‘is last 7 days’

Represents the corresponding filter operator in the Filter Builder dialog and the Filter and Prefilter panels.

This operator can be applied only to date values.

cxSFilterOperatorLast14Days

‘is last 14 days’

Represents the corresponding filter operator in the Filter Builder dialog and the Filter and Prefilter panels.

This operator can be applied only to date values.

cxSFilterOperatorLast30Days

‘is last 30 days’

Represents the corresponding filter operator in the Filter Builder dialog and the Filter and Prefilter panels.

This operator can be applied only to date values.

cxSFilterOperatorLastMonth

‘is last month’

Represents the corresponding filter operator in the Filter Builder dialog and the Filter and Prefilter panels.

This operator can be applied only to date values.

cxSFilterOperatorLastTwoWeeks

‘is last two weeks’

Represents the corresponding filter operator in the Filter Builder dialog and the Filter and Prefilter panels.

This operator can be applied only to date values.

cxSFilterOperatorLastWeek

‘is last week’

Represents the corresponding filter operator in the Filter Builder dialog and the Filter and Prefilter panels.

This operator can be applied only to date values.

cxSFilterOperatorLastYear

‘is last year’

Represents the corresponding filter operator in the Filter Builder dialog and the Filter and Prefilter panels.

This operator can be applied only to date values.

cxSFilterOperatorLess

‘is less than’

Represents the < filter operator in the Custom Filter and Filter Builder dialogs.

This string is also used to represent the operator in the Filter and Prefilter panels, if the TcxFilterCriteria.Options property contains the fcoShowOperatorDescription flag.

cxSFilterOperatorLessEqual

‘is less than or equal to’

Represents the <= filter operator in the Custom Filter and Filter Builder dialogs.

This string is also used to represent the operator in the Filter and Prefilter panels, if the TcxFilterCriteria.Options property contains the fcoShowOperatorDescription flag.

cxSFilterOperatorLike

‘like’

Represents the LIKE filter operator in the Custom Filter and Filter Builder dialogs.

cxSFilterOperatorNext7Days

‘is next 7 days’

Represents the corresponding filter operator in the Filter Builder dialog and the Filter and Prefilter panels.

This operator can be applied only to date values.

cxSFilterOperatorNext14Days

‘is next 14 days’

Represents the corresponding filter operator in the Filter Builder dialog and the Filter and Prefilter panels.

This operator can be applied only to date values.

cxSFilterOperatorNext30Days

‘is next 30 days’

Represents the corresponding filter operator in the Filter Builder dialog and the Filter and Prefilter panels.

This operator can be applied only to date values.

cxSFilterOperatorNextMonth

‘is next month’

Represents the corresponding filter operator in the Filter Builder dialog and the Filter and Prefilter panels.

This operator can be applied only to date values.

cxSFilterOperatorNextTwoWeeks

‘is next two weeks’

Represents the corresponding filter operator in the Filter Builder dialog and the Filter and Prefilter panels.

This operator can be applied only to date values.

cxSFilterOperatorNextWeek

‘is next week’

Represents the corresponding filter operator in the Filter Builder dialog and the Filter and Prefilter panels.

This operator can be applied only to date values.

cxSFilterOperatorNextYear

‘is next year’

Represents the corresponding filter operator in the Filter Builder dialog and the Filter and Prefilter panels.

This operator can be applied only to date values.

cxSFilterOperatorNotBetween

‘not between’

Represents the ‘NOT BETWEEN’ filter operator in the Filter Builder dialog and the Filter and Prefilter panels.

This operator allows you to select values beyond the specified range.

cxSFilterOperatorNotEqual

‘does not equal’

Represents the <> filter operator in the Custom Filter and Filter Builder dialogs.

This string is also used to represent the operator in the Filter and Prefilter panels, if the TcxFilterCriteria.Options property contains the fcoShowOperatorDescription flag.

cxSFilterOperatorNotInList

‘not in’

Represents the ‘NOT IN’ filter operator in the Filter Builder dialog and the Filter and Prefilter panels.

This operator is opposite to the IN operator which is used to test membership of an item in a value list.

cxSFilterOperatorNotLike

‘not like’

Represents the ‘NOT LIKE’ filter operator in the Custom Filter and Filter Builder dialogs.

cxSFilterOperatorThisMonth

‘is this month’

Represents the corresponding filter operator in the Filter Builder dialog and the Filter and Prefilter panels.

This operator can be applied only to date values.

cxSFilterOperatorThisWeek

‘is this week’

Represents the corresponding operator in the Filter Builder dialog and the Filter and Prefilter panels.

This operator can be applied only to date values.

cxSFilterOperatorThisYear

‘is this year’

Represents the corresponding filter operator in the Filter Builder dialog and the Filter and Prefilter panels.

This operator can be applied only to date values.

cxSFilterOperatorToday

‘is today’

Represents the corresponding operator in the Filter Builder dialog and the Filter and Prefilter panels.

This operator can be applied only to date values.

cxSFilterOperatorTomorrow

‘is tomorrow’

Represents the corresponding filter operator in the Filter Builder dialog and the Filter and Prefilter panels.

This operator can be applied only to date values.

cxSFilterOperatorYesterday

‘is yesterday’

Represents the corresponding filter operator in the Filter Builder dialog and the Filter and Prefilter panels.

This operator can be applied only to date values.

cxSFilterOrCaption

‘or’

Denotes the OR filter operator in the text string representing the current filter criteria in the Filter and Prefilter panels.

See Also