Jump to content
JasperReports Library 7.0 is now available ×

Recommended Posts

By: Reinhard Achleiter - crazyreini

subreports

2002-12-12 07:19

How can i set that the DataSource of the Sub Report is the same as the one in the Master Report?

 

In the example it's only for Connections :-(

 

can anybody help me?

 

 

 

 

 

By: Teodor Danciu - teodord

RE: subreports

2002-12-12 07:28

 

Hi,

 

Use this in the <subreport> element, instead of

the <connectionExpression>:

 

<dataSourceExpression>$P{REPORT_DATA_SOURCE}</dataSourceExpression>

 

I hope you know what you're doing.

:)

 

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