title: Remove Repeated Pages in iReport
body: <p>I am using List component iReport the data is populating but the pdf has two pages. The data in 2nd page is same as first page. I have 25 records in db and I want to populate in one page. The table data keep repeating in pdf pages. Is there any setting in list to avoid it? I will appreciate for your great help.</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;jasperReport xmlns="http://jasperreports.sourceforge.net/jasperreports" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports http://jasperreports.sourceforge.net/xsd/jasperreport.xsd" name="test" language="groovy" pageWidth="595" pageHeight="842" columnWidth="555" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20"&gt;
      &lt;property name="ireport.zoom" value="1.0"/&gt;
      &lt;property name="ireport.x" value="0"/&gt;
      &lt;property name="ireport.y" value="0"/&gt;
      &lt;subDataset name="dataset1"&gt;
          &lt;parameter name="ID" class="java.lang.Integer"/&gt;
          &lt;queryString&gt;
              &lt;![CDATA[select * from CALENDAR WHERE REGION=$P{ID} ]]&gt;
          &lt;/queryString&gt;
          &lt;field name="ID" class="java.lang.Integer"/&gt;
          &lt;field name="NAME" class="java.lang.String"/&gt;
          &lt;field name="REGION" class="java.lang.Integer"/&gt;
          &lt;field name="YEAR" class="java.lang.Integer"/&gt;
          &lt;field name="HOLIDAY_NAME" class="java.lang.String"/&gt;
          &lt;field name="DATE_PICKER" class="java.sql.Date"/&gt;
          &lt;field name="APPLICABLE_FROM" class="java.sql.Date"/&gt;
          &lt;field name="APPLICABLE_TO" class="java.sql.Date"/&gt;
      &lt;/subDataset&gt;
      &lt;parameter name="ID" class="java.lang.Integer"/&gt;
      &lt;queryString&gt;
          &lt;![CDATA[select * from USERS]]&gt;
      &lt;/queryString&gt;
      &lt;field name="ID" class="java.lang.Integer"/&gt;
      &lt;field name="EMP_ID" class="java.lang.Integer"/&gt;
      &lt;field name="LEVEL_ID" class="java.lang.Integer"/&gt;
      &lt;field name="REG_DIV_ID" class="java.lang.Integer"/&gt;
      &lt;field name="PROFILE_ID" class="java.lang.Integer"/&gt;
      &lt;field name="FINANCE_ID" class="java.lang.Integer"/&gt;
      &lt;field name="NOMINEE_ID" class="java.lang.Integer"/&gt;
      &lt;field name="PASSPORT_ID" class="java.lang.Integer"/&gt;
      &lt;field name="PERSONAL_ID" class="java.lang.Integer"/&gt;
      &lt;field name="SALARY_ID" class="java.lang.Integer"/&gt;
      &lt;field name="STATUS" class="java.lang.Boolean"/&gt;
      &lt;field name="CREATE_DATE" class="java.sql.Timestamp"/&gt;
      &lt;background&gt;
          &lt;band splitType="Stretch"/&gt;
      &lt;/background&gt;
      &lt;pageHeader&gt;
          &lt;band height="87"&gt;
              &lt;image&gt;
                  &lt;reportElement positionType="Float" x="52" y="38" width="123" height="47"/&gt;
                  &lt;imageExpression class="java.lang.String"&gt;&lt;![CDATA["/home/user/Desktop/image003.jpg"]]&gt;&lt;/imageExpression&gt;
              &lt;/image&gt;
              &lt;image&gt;
                  &lt;reportElement positionType="Float" x="453" y="30" width="62" height="55"/&gt;
                  &lt;imageExpression class="java.lang.String"&gt;&lt;![CDATA["/home/user/Desktop/image002.jpg"]]&gt;&lt;/imageExpression&gt;
              &lt;/image&gt;
          &lt;/band&gt;
      &lt;/pageHeader&gt;
      &lt;columnHeader&gt;
          &lt;band splitType="Stretch"/&gt;
      &lt;/columnHeader&gt;
      &lt;detail&gt;
          &lt;band height="89" splitType="Stretch"&gt;
              &lt;componentElement&gt;
                  &lt;reportElement positionType="Float" stretchType="RelativeToTallestObject" x="52" y="53" width="464" height="29"/&gt;
                  &lt;jr:list xmlns:jr="http://jasperreports.sourceforge.net/jasperreports/components" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports/components http://jasperreports.sourceforge.net/xsd/components.xsd" printOrder="Vertical"&gt;
                      &lt;datasetRun subDataset="dataset1"&gt;
                          &lt;datasetParameter name="ID"&gt;
                              &lt;datasetParameterExpression&gt;&lt;![CDATA[$P{ID}]]&gt;&lt;/datasetParameterExpression&gt;
                          &lt;/datasetParameter&gt;
                          &lt;connectionExpression&gt;&lt;![CDATA[$P{REPORT_CONNECTION}]]&gt;&lt;/connectionExpression&gt;
                      &lt;/datasetRun&gt;
                      &lt;jr:listContents height="29" width="464"&gt;
                          &lt;textField&gt;
                              &lt;reportElement positionType="Float" stretchType="RelativeToBandHeight" x="28" y="5" width="197" height="20"/&gt;
                              &lt;textElement/&gt;
                              &lt;textFieldExpression class="java.lang.String"&gt;&lt;![CDATA[$F{HOLIDAY_NAME}+"  "]]&gt;&lt;/textFieldExpression&gt;
                          &lt;/textField&gt;
                          &lt;line&gt;
                              &lt;reportElement x="0" y="27" width="464" height="1"/&gt;
                          &lt;/line&gt;
                          &lt;line&gt;
                              &lt;reportElement x="0" y="1" width="1" height="28"/&gt;
                          &lt;/line&gt;
                          &lt;line&gt;
                              &lt;reportElement x="463" y="0" width="1" height="28"/&gt;
                          &lt;/line&gt;
                          &lt;line&gt;
                              &lt;reportElement x="225" y="0" width="1" height="28"/&gt;
                          &lt;/line&gt;
                          &lt;textField&gt;
                              &lt;reportElement positionType="Float" stretchType="RelativeToBandHeight" x="301" y="6" width="100" height="20"/&gt;
                              &lt;textElement/&gt;
                              &lt;textFieldExpression class="java.lang.String"&gt;&lt;![CDATA[$F{DATE_PICKER}]]&gt;&lt;/textFieldExpression&gt;
                          &lt;/textField&gt;
                      &lt;/jr:listContents&gt;
                  &lt;/jr:list&gt;
              &lt;/componentElement&gt;
              &lt;rectangle&gt;
                  &lt;reportElement x="52" y="30" width="464" height="23" backcolor="#DD6626"/&gt;
              &lt;/rectangle&gt;
              &lt;textField&gt;
                  &lt;reportElement x="80" y="35" width="181" height="23"/&gt;
                  &lt;textElement&gt;
                      &lt;font size="12" isBold="true"/&gt;
                  &lt;/textElement&gt;
                  &lt;textFieldExpression class="java.lang.String"&gt;&lt;![CDATA["HOLIDAYS LIST"]]&gt;&lt;/textFieldExpression&gt;
              &lt;/textField&gt;
              &lt;textField&gt;
                  &lt;reportElement x="353" y="35" width="124" height="23"/&gt;
                  &lt;textElement&gt;
                      &lt;font size="12" isBold="true"/&gt;
                  &lt;/textElement&gt;
                  &lt;textFieldExpression class="java.lang.String"&gt;&lt;![CDATA["DATE"]]&gt;&lt;/textFieldExpression&gt;
              &lt;/textField&gt;
          &lt;/band&gt;
      &lt;/detail&gt;
      &lt;columnFooter&gt;
          &lt;band splitType="Stretch"/&gt;
      &lt;/columnFooter&gt;
      &lt;pageFooter&gt;
          &lt;band height="35" splitType="Stretch"/&gt;
      &lt;/pageFooter&gt;
      &lt;summary&gt;
          &lt;band splitType="Stretch"/&gt;
      &lt;/summary&gt;
  &lt;/jasperReport&gt;
  </code></pre>