I use the grid with the filtering combo boxes enabled (see picture) and my users have got used to them very quickly, but some of them are getting filtering errors.
The problem occurs when they want to filter a text column: they start typing the text they want to apply to the filter, the grid shows the name that matches the initial pattern (in blue in the picture) and the user happyly presses Enter. Then they get an Exception saying "Unexpected AND or OR" (English translation is mine).
The problem is that they do not enclose the text with quotes (when I tell them to do so filtering is OK) but... they are users and they do not know anything about SQL sintax. Besides they prefer to type rather than to select the filtering criteria from the combo box.
Is there something that can be done in order to allow the grid to filter text columns without enclosing the filtering text with quotes?
Thank you very much for your help.
P.S. I forgot to mention the DataSource is a MemTableEh and filtering is set to local:
Code:
SortInView= true; // automatic sorting
Grid->SortLocal= true;
Grid->STFilter->Local= true;
Grid->STFilter->Visible= true;
Grid->STFilter->Location= stflUnderTitleFilterEh; // stflInTitleFilterEh;