Hi there.
I'm trying to create something where we can filter by multiple selections using a check box list from the "choice" control. I am thinking that if it's possible, we'll have to use a list stored procedure.
So, my stored procedure looks something like this:
Parameters:
@pProductArea varchar(50) = NULL ,
Script:
select product_area, workgroup, queue from TABLE1
where
(product_area in (@pproductarea) or @pproductarea is null)
I have the product area parameter being passed into the stored procedure via the "CHOICE" control with the delimiter being COMMA (,) It works when a single selection is made, but if multiple selections are made, the result set comes in blank.
Any thoughts on this? Is it even possible? I am thinking there must be SOME way to do this, otherwise why would we have the Choice control with the ability to change the delimeter...
Any help is appreciated.
Best,
Rob
And I