Jump to content

REPORT_CONNECTION for SubReport


Recommended Posts

By: Peter - quaere

REPORT_CONNECTION for SubReport

2003-05-21 00:37

I have made a subreport and use connection expression to define the datasource of subreport. However, the warning message " WARN [dori.jasper.engine.fill.JRBaseFiller] The supplied java.sql.Connection object is null." shows and it cannot be generated the subreport at all. I don't know why it happens while the master report has connection. Thanks.

 

<subreportParameter name="ID">

<subreportParameterExpression>$F{ID}

</subreportParameterExpression>

</subreportParameter>

<connectionExpression>$P{REPORT_CONNECTION}</connectionExpression>

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