Hi there, I have a strange encounter when creating a GridView using "SELECT..WHERE.. IN (value1, val2...)".
in the "Configure datasource" tab, if i hard code the values "SELECT ....WHERE field1 in ('AAA', 'BBB', 'CCC'), the system works well.
However, if I define a new parameter and pass in a concatenated string of values using a variable; be it a @session, Control or querystring; e.g. "SELECT .... WHERE field1 in @SESSION" the result is always empty.
I did another experiment by reducing the parameter content to only one single value, it works well.
in short, if I hardcode a string of values, it works, if I pass a variable with single value only, it works, but if i pass a varialbe with two values; it failed.
Pls advise if I have make any mistake or it is a known bug.
BR SDIGI