Jump to content

Multi Select Query


jem_2

Recommended Posts

Hi,

I am using Jaspersoft Studio 6. I have a paramater where I need to have multiple selection of list. The class is collection. How should I define the values which are fetch from database? Is the class correct?

I appreciate your response.

 

Thanks!

Link to comment
Share on other sites

  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

when you created a query you can see the "Read fields on the upper right of your table, then it will automatically read the fetched fields, or you can manually add field in the lower right you can see "ADD, DELETE, ......" buttons, then click add and double click the name of the FIELD that's been added then rename it according to the field on your database

Link to comment
Share on other sites

1.create a parameter(say multi_select) as a string in the studio 

2. create a parameter(multi_select same name) in the repository ie. in the server under input control which is a  normal "select  query"  

3. while publishing the report link the local parameter to the server parameter which should be of SAME NAME

this will help you

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...