Jump to content
JasperReports Library 7.0 is now available ×

Sending Parameters Directly To A Subreport


2005 IR Help

Recommended Posts

By: Bruno Cardoso - bcardoso

Sending Parameters Directly To A Subreport

2004-01-14 05:32

Hi again,

 

In all my reports I use parameters that will be replaced by words in the language of the user. All parameters have to be in the parameters list of the report, however when I use this system in a subreport I have to define all those parameters in the master report too, which is a little boring when you have a BIG report.

 

So my question is: Is there a way to send parameters directly to the subreport without passing through the master report?

 

Thanks

 

 

 

 

By: Teodor Danciu - teodord

RE: Sending Parameters Directly To A Subrepor

2004-01-24 13:28

 

Hi,

 

Use this:

 

<parametersMapExpression>

new HashMap($P{REPORT_PARAMETERS_MAP})

</parametersMapExpression>.

 

I hope this helps.

Teodor

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

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