I created a combobox and added my created enum to its properties.
Override the selectionChange method for this combobox and call the executeQuery method of form datasource on which I want to apply filter.
On the executeQuery method of the datasource, I have written the following code:

Following is the control for a custom filter
The filter does not work. What should be done, any suggestions?