Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6831461
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T22:44:25+00:00 2026-05-26T22:44:25+00:00

I have designed a report with 4 subreports, the problem is that when I

  • 0

I have designed a report with 4 subreports, the problem is that when I print the report the 4’th report has a data that can fill the whole page but it just uses half of the first page and then fills all the remaining data in the second page. how could I fill the first page?

<detail>
        <band height="392" splitType="Stretch">
            <subreport>
                <reportElement x="0" y="0" width="555" height="100" isRemoveLineWhenBlank="true"/>
                <subreportParameter name="SUBREPORT_DIR">
                    <subreportParameterExpression><![CDATA[$P{SUBREPORT_DIR}]]></subreportParameterExpression>
                </subreportParameter>
                <subreportParameter name="reciept_id">
                    <subreportParameterExpression><![CDATA[$P{reciept_id}]]></subreportParameterExpression>
                </subreportParameter>
                <connectionExpression><![CDATA[$P{REPORT_CONNECTION}]]></connectionExpression>
                <subreportExpression class="java.lang.String"><![CDATA[$P{SUBREPORT_DIR} + "alkanes_report.jasper"]]></subreportExpression>
            </subreport>
            <subreport>
                <reportElement positionType="Float" x="0" y="192" width="555" height="100" isRemoveLineWhenBlank="true"/>
                <subreportParameter name="SUBREPORT_DIR">
                    <subreportParameterExpression><![CDATA[$P{SUBREPORT_DIR}]]></subreportParameterExpression>
                </subreportParameter>
                <subreportParameter name="reciept_id">
                    <subreportParameterExpression><![CDATA[$P{reciept_id}]]></subreportParameterExpression>
                </subreportParameter>
                <connectionExpression><![CDATA[$P{REPORT_CONNECTION}]]></connectionExpression>
                <subreportExpression class="java.lang.String"><![CDATA[$P{SUBREPORT_DIR} + "brick_alkane.jasper"]]></subreportExpression>
            </subreport>
            <subreport>
                <reportElement positionType="FixRelativeToBottom" x="1" y="292" width="554" height="100" isRemoveLineWhenBlank="true" isPrintInFirstWholeBand="true"/>
                <subreportParameter name="SUBREPORT_DIR">
                    <subreportParameterExpression><![CDATA[$P{SUBREPORT_DIR}]]></subreportParameterExpression>
                </subreportParameter>
                <subreportParameter name="reciept_id">
                    <subreportParameterExpression><![CDATA[$P{reciept_id}]]></subreportParameterExpression>
                </subreportParameter>
                <connectionExpression><![CDATA[$P{REPORT_CONNECTION}]]></connectionExpression>
                <subreportExpression class="java.lang.String"><![CDATA[$P{SUBREPORT_DIR} + "bases2.jasper"]]></subreportExpression>
            </subreport>
            <subreport>
                <reportElement positionType="Float" x="0" y="100" width="555" height="92" isRemoveLineWhenBlank="true"/>
                <subreportParameter name="SUBREPORT_DIR">
                    <subreportParameterExpression><![CDATA[$P{SUBREPORT_DIR}]]></subreportParameterExpression>
                </subreportParameter>
                <subreportParameter name="reciept_id">
                    <subreportParameterExpression><![CDATA[$P{reciept_id}]]></subreportParameterExpression>
                </subreportParameter>
                <connectionExpression><![CDATA[$P{REPORT_CONNECTION}]]></connectionExpression>
                <subreportExpression class="java.lang.String"><![CDATA[$P{SUBREPORT_DIR} + "alkanes_addittions.jasper"]]></subreportExpression>
            </subreport>
        </band>
    </detail>
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T22:44:25+00:00Added an answer on May 26, 2026 at 10:44 pm

    Probably what is happening is that the page size for the subreport needs to be increased.

    In the main report, your subreport height is set here: height="92". That serves to set the minimum height of the rendered subreport. Making that larger or smaller will neither help nor hurt your issue. But if your page size is smaller in the subreport than it is in the main report, that would explain the behavior that you are describing.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have designed a custom section handler before but I'm faced with a problem
I have a report designed in Crystal 2008. The report has a parameter field
I have a reporting services report that was designed in VS2010. When using 'front
I have a report designed in ireport that is using the current_date option from
I have designed a tabbed page. I'm able to load forms in the tabs
I have designed this gui in netBeans which has a canvas , a couple
I have a crystal report designer problem: In my report is a field I
I have a narrow table on a report with 6 columns. The table has
I have designed a Report in my ASP.NET web site now i need to
I have a web report that uses a Django form (new forms) for fields

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.