Jump to content
Changes to the Jaspersoft community edition download ×

Display multiple value for one field


Recommended Posts


I am trying to create a table for multiple values from the same field, specifically, items in a shipment. 

currently, it is only showing the first value.

can someone please explain how to correct the code to display multiple fields? TIA

the xml code is 

    <group name="CartonInfo">
        <groupExpression><![CDATA[new Integer(1)]]></groupExpression>
            <band height="44">
                    <reportElement positionType="Float" x="0" y="14" width="552" height="1" uuid="82be37c4-07d3-41a3-884c-eb8d026077fd"/>
                        <pen lineWidth="0.5"/>
                    <reportElement x="4" y="15" width="71" height="14" uuid="cd06d6fb-f85a-4cca-827a-fb853be2e904"/>
                    <reportElement x="76" y="14" width="192" height="30" uuid="9a237a39-9398-44cb-b95e-f35eba134087"/>
                <textField pattern="###0">
                    <reportElement x="271" y="15" width="16" height="14" uuid="73f3dc0e-d232-4a39-b119-988de3411f7c"/>

the design portion looks like this


Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Create New...