jquiroga Posted September 27, 2006 Share Posted September 27, 2006 Hi, I'm filling my reports using JasperFillManager and pass it a JRDataSource. I need to use crosstab, and i don't know how to fill subdatasets by java code. Thanks in advance. Link to comment Share on other sites More sharing options...
Teodor Danciu Posted September 28, 2006 Share Posted September 28, 2006 Hi, I think you need to pass JRDataSource objects to them too, using the <dataSourceExpression> tag in the <dataSetRun>. I hope this helps.Teodor Link to comment Share on other sites More sharing options...
jquiroga Posted September 29, 2006 Author Share Posted September 29, 2006 This work, thanks. I pass JRRewindableDataSource through report parameter and change the <dataSourceExpression> tag in the <dataSetRun> adding the expresion: {$P{PARAMNAME}} 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