In my report, there is a parameter passing multiple string values (e.g. Chair-d, Table-F, Sofa-g, Table-f, Chair-D etc). When I filter the records returned from the SQL query, one column called PRODUCT is compared against this list of parameter value. So in my record selection formula, I coded it as follow:
(IF HASVALUE({?Product}) THEN
(IF {?Product} = 'ALL' THEN
TRUE
ELSE
({Command.PRODUCT} IN ({?Product}) )
)
ELSE true
)
Unfortunately, when there is only one parameter value 'Table-F', the report returned all rows with {Command.PRODUCT} = 'Table-F' or 'Table-f'.
How can I set in Record Selection formula to do an exact string compare in {Command.PRODUCT} IN ({?Product}) such that it will only return rows with {Command.PRODUCT} = 'Table-F' only ?