swathi.reddys2008 Posted March 20, 2015 Share Posted March 20, 2015 Hi... I am presenty working on Ireport 4.0.1 version. Here am trying to create a parameter which should take input multiple values. After searching on google i got this solution.Main Query : SELECT * from customer where $X{IN,customer_id,param_customerID}Parameter : Name : param_customerIDClass : java.lang.IntegerParameter Query in the repository : Type : Multi Select QueryQuery :SELECT DISTINCT customer_id FROM customer ORDER BY customer_id Here my question is where can I set Multe Select Query in Ireport 4.0.1. Please anyone help me. Its urjent.Waiting for solution Thanks in Advance Link to comment Share on other sites More sharing options...
AnnMary.Thomas Posted March 24, 2015 Share Posted March 24, 2015 I had a similar case. The query I have specified in the same way as you have specified. But the Parameter i have specified in the following way.Parameter Name=parameter1Class=java.util.CollectionDefault Value Expression=java.util.Arrays.asList($P{REPORT_PARAMETERS_MAP}.get( "parameter1" )) Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now