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

how can i pass a parameter from main report to Table component (ireport4.0.2)?


mohednoor

Recommended Posts

Hello All,

i am using ireport 4.0.2 , i have a main report that have a parameter called USER_ID, and in that report i want to create a Table  component. i want to use the same parameter when i create the table to fill it. but the table cannot see this parameter. so how can i pass it from the main report to the table.

note: there is no property on table or main report to set it.

 

 

 

 

 

 

 

Link to comment
Share on other sites

  • Replies 4
  • Created
  • Last Reply

Top Posters In This Topic

If your table is using an additional dataset, declare the parameters in the dataset. Then pass in the params from the main report to the table element.

To do this right click table and select Edit Table Datasource. Declare parameters to be passed in under the Paramters tab.

I've attached a file with more info.

Hope that helps.

Magnus

Link to comment
Share on other sites

  • 5 years later...

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