2002 JI Open Discussion Posted August 17, 2006 Share Posted August 17, 2006 By: Jorge - jorarcia Problem filling subreports 2003-03-03 06:39 How can I fill a subreport using datasource?. The only way that I have made subreports is using a .jasper file and I don't know how to fill it. Thanks. By: Teodor Danciu - teodord RE: Problem filling subreports 2003-03-25 13:30 Hi, The <subreport> tag allows you to specify the data source of that subreport using either the <dataSourceExpression> or the <connectionExpression>. If your subreport has an internal SQL query, then you pass a connection, like in the "subreport" sample provided. If it is about filling the subreport from some custom data, then you pass a JRDataSource object using the <dataSourceExpression> tag. I hope this helps, Teodor Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now