I am trying to create a dataset in BIRT report that contains a select statement with "IN" clause and pass a comma separate value in place of "?" using a BIRT parameter that accepts multiple values.
for eg : select * from table where ID in ( ? )
I tried adding this in my dataset "select * from table where ID in ( params["paramer_name"].value)" but it is not working.
I do not want to use the built in Filter of BIRT dataset because using the "IN" clause in query reduces the cost of query to lot of extent in my database server.
Is there a simple way to do the same without adding long java scripts ???
FYI : The list of parameter that user selects comes from another dataset, and I want to use the selected value as an input to another dataset.
Thanks a lot for your help...