Jump to content
We've recently updated our Privacy Statement, available here ×

Want to fire a query on report parameter and display it value on report.


chavda.charmi
Go to solution Solved by Siddharth Kothari,

Recommended Posts

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

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

  • Solution

Hi,

It is possible to achieve your requirement. Follow below steps:

  1.     Create a parameter in second dataset.
  2.     Use List element to show associated name.
  3.     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

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...