Hi Cyril,
It seems you want multi-select, but from SQL PASSTHRU.
The syntax for using the IN keyword is as follows:
SELECT column_name
FROM derived_table
WHERE column_name [NOT] IN ('value1', 'value2', ... ,'value_n')
This SQL statement will return the records where column1 is value1, value2..., or value_n. The number of values in the parenthesis can be one or more, and they can be numerical or characters.
So, using multi-select, you would probably want a delimiter of ',' (comma), rather than 'OR'.
A comma is allowed as a delimiter, but it doesn’t quote the values.
So, you'll need to use OR, and use STRREP to replace ' OR ' with ','
(<space>OR<space> with comma)
in the result.
Cheers!
Kathryn