f.nourazar Posted July 14, 2014 Share Posted July 14, 2014 Hello,I want to add a combobox to my report. However, I cannot see it in jaspersoft studio elements?What should I do now?Thankyou Link to comment Share on other sites More sharing options...
rajesh.sirsikar Posted July 14, 2014 Share Posted July 14, 2014 Hi f.nourazarWhat is the purpose of this combobox?. Is it to filter teh data to be displayed in the report? Rajesh Sirsikarwww.rajeshsirsikar.com Link to comment Share on other sites More sharing options...
f.nourazar Posted July 14, 2014 Author Share Posted July 14, 2014 Dear Rajesh,Thank you for your reponse. I want to create a SortBy parameter on which I can sort my reports based on my columns(my fields in DB). So I've decidedto create a combobox which values are my fields in DB so that I can select my fields to sort my report according to that field. But now I don't know how tocreate combobox itself nor how to provide its values. Link to comment Share on other sites More sharing options...
rajesh.sirsikar Posted July 14, 2014 Share Posted July 14, 2014 Hi Nourazar,For Sorting, Jaspersoft Studio provides faility to Create Sorting Fields in the "Outline Section". You can cretae a sorting variable on whichever column you want to sort and the report will run on that sorting.But If you are trying to create a Multi Value Parameter to fetch the data only for the parameter selection, then its a different ball game.ThanksRajesh Link to comment Share on other sites More sharing options...
f.nourazar Posted July 15, 2014 Author Share Posted July 15, 2014 YES I exactly want to create a Multi Value Parameter to fetch the data. I must do it today. Please help me!! Thank you for your time and consideration Link to comment Share on other sites More sharing options...
rajesh.sirsikar Posted July 15, 2014 Share Posted July 15, 2014 Hi Nourazar,Please check my blog http://www.rajeshsirsikar.com/?p=272 for step by step way to cretae a multiselect parameter in Jaspersoft Studio.Rajesh Sirsikar Link to comment Share on other sites More sharing options...
f.nourazar Posted July 16, 2014 Author Share Posted July 16, 2014 Dear Rajesh,Hi,Thanks alot for your help. However, I want to fetch combobox values from database, not manually. For example, set a query(select name from table1) andthen I see all names in combo and.I would be appreciated if you help me. Link to comment Share on other sites More sharing options...
f.nourazar Posted July 16, 2014 Author Share Posted July 16, 2014 Dear Rajesh,Hi,Thanks alot for your help. However, I want to fetch combobox values from database, not manually. For example, set a query(select name from table1) andthen I see all names in combo and.I would be appreciated if you help me. 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