Fill Crosstab
Posted on September 26, 2006 at 6:26pm
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.
Joined: Sep 22 2006 - 6:25am
Last seen: 2 years 1 week ago
Posted on September 27, 2006 at 6:32pm
Hi,
I think you need to pass JRDataSource objects to them too, using the <dataSourceExpression> tag in the <dataSetRun>.
I hope this helps.
Teodor
Joined: Jun 30 2006 - 9:00am
Last seen: 2 hours 34 min ago
Posted on September 28, 2006 at 9:52pm
This work, thanks.
I pass JRRewindableDataSource through report parameter and change the <dataSourceExpression> tag in the <dataSetRun> adding the expresion: {$P{PARAMNAME}}
Joined: Sep 22 2006 - 6:25am
Last seen: 2 years 1 week ago