javax_slr
-
Posts
3 -
Joined
-
Last visited
Content Type
Profiles
Forum
Events
Featured Visualizations
Knowledge Base
Documentation (PDF Downloads)
Blog
Documentation (Test Area)
Documentation
Dr. Jaspersoft Webinar Series
Downloads
Posts posted by javax_slr
-
-
Thank you teodord
I have isSplitAllowed="true" and it does not help
If I make my data source rewindable, from some reason it just enters infinite loop - I see in debugger calls to moveFirst and calls to getFieldValue and it does not stop forever.
-
Hi! I'm trying create a report with Jasper reports, which contains 2 subreports, working on the same data source (which is custom data source). I.e. those subreports are working on the same data. I have following "main" report jrxml (attached code snippet) and I receive exception: com.cadence.mdv.reporting.ReportingException: net.sf.jasperreports.engine.JRException: The subreport is placed on a non-splitting band, but it does not have a rewindable data source. What should I do in order to get this report working? Thank you
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE jasperReport PUBLIC "-//JasperReports//DTD Report Design//EN"
"http://jasperreports.sourceforge.net/dtds/jasperreport.dtd">
<jasperReport name="BasicReport">
<import value="com.cadence.mdv.reporting.ReportUtilities" />
<parameter name="Title" class="java.lang.String" />
<title>
<band height="50">
<textField>
<reportElement x="0" y="0" width="200" height="50" />
<textFieldExpression class="java.lang.String">$P{Title}</textFieldExpression>
</textField>
</band>
</title>
<pageHeader>
<band>
</band>
</pageHeader>
<detail>
<band height="620" isSplitAllowed="true">
<subreport>
<reportElement x="50" y="0" height="300" width="500" isPrintWhenDetailOverflows="true" />
<dataSourceExpression><![CDATA[$P{REPORT_DATA_SOURCE}]]></dataSourceExpression>
<subreportExpression class="java.lang.String"><![CDATA["blockdetails.jasper"]]> </subreportExpression>
</subreport>
<subreport>
<reportElement x="50" y="0" height="300" width="500" isPrintWhenDetailOverflows="true" />
<dataSourceExpression><![CDATA[$P{REPORT_DATA_SOURCE}]]></dataSourceExpression>
<subreportExpression class="java.lang.String"><![CDATA["fsmdetails.jasper"]]> </subreportExpression>
</subreport>
</band>
</detail>
</jasperReport>[/code]
Jasper Subreports with the same data source
in Products
Posted
Thank you,
Now I changed the design using nested reports and different datasources, but still I have infinite loop problem.
Take a look please