chavda.charmi Posted May 9, 2017 Share Posted May 9, 2017 Hello All,I am able to generate report successfully now I don't know is it possible what I want to do.I am taking some parameters based on which I am generating report. So I created Main dataset which executes db procedure.Now i want to display value from database according to a parameter. say I have 3 parameters and lets assume that one of the parameter is Id, Now reports get generated based on parameters in extra i want a textfiled above report to display name associated with id that I need to fetch from database.Is it possible?For this I tried to take another datasource but the problem is that parameter is passed in master datasource how can i pass that parameter to newly generated datasource? Thanks in advance Link to comment Share on other sites More sharing options...
Solution Siddharth Kothari Posted May 10, 2017 Solution Share Posted May 10, 2017 Hi,It is possible to achieve your requirement. Follow below steps: Create a parameter in second dataset. Use List element to show associated name. In list element's dataset property map first dataset parameter with second dataset parameter.I have attached a file below which has implementation of above steps./sites/default/files/files/Sample_jrxml.txt 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