[#12661] - Move the entire row to next page when one or more text fields data overflows to next page

Category:
Bug report
Priority:
Urgent
Status:
Closed
Project: Severity:
Major
Resolution:
No Change Required
Component: Reproducibility:
Always
Assigned to:
0

When one or more text fields data overflows to next page, some data is overflow across from one page to next page.

Already set below configure, but cannot move the entire row to next page when one or more text fields data overflows to next page.
1) try select or remove "Detail Over flow" option for all the textfield elements
2) Select the detail band and look into the properties of it.
Chose Split Type = Prevent

TIBCO Jaspersoft® Studio 6.6.0 - Visual Designer for JasperReports 6.6.0. is used.
Please advise.

AttachmentSize
Image icon error_screen.png55.94 KB
v6.6.0
Jaspersoft® Studio
haloken's picture
Joined: Feb 5 2020 - 8:06pm
Last seen: 1 year 1 month ago

2 Comments:

#1

Problem solved by using subreport. In master report:
<detail>
<band height="216" splitType="Stretch">
<subreport runToBottom="false">
<reportElement positionType="Float" stretchType="RelativeToTallestObject" isPrintRepeatedValues="false" mode="Transparent" x="10" y="26" width="790" height="75" isRemoveLineWhenBlank="true" isPrintWhenDetailOverflows="true" uuid="3a57cf99-739c-4acd-99c1-272f087d73ad"/>
<dataSourceExpression><![CDATA[$P{vaccineType}]]></dataSourceExpression>
<subreportExpression><![CDATA[$P{SUB_REPORT}]]></subreportExpression>
</subreport>

-------------------------------------------------------
In subreport set splitType to Prevent:
<detail>
<band height="15" splitType="Prevent">

#2
  • Resolution:Open» No Change Required
  • Status:Feedback Requested» Closed
  • Assigned:nobody» chicuslavic
Feedback
randomness