ujjawalkhare11 Posted May 22, 2014 Share Posted May 22, 2014 Hi,Please help me to pass a parameter in my ireport so that i can use a multiselect query with the use of parameter.in my report i am using $x{IN,ADMIN1,admins} but getting error that wrong type java.lang.string for parameter admins, admins should be an array or collection. parameter admins:class: java.util.CollectionDefault Value Expression: "select admin from sccp_raw group by admin" Link to comment Share on other sites More sharing options...
mbmorgan Posted May 22, 2014 Share Posted May 22, 2014 Try using this as your default value expression: new ArrayList(Arrays.asList(new String[] {""})) Good luck!M.B.Morgan 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