tami_1 Posted March 27 Share Posted March 27 Hi, 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> <group name="CartonInfo"> <groupExpression><![CDATA[new Integer(1)]]></groupExpression> <groupHeader> <band height="44"> <printWhenExpression><![CDATA[$P{ShowCartonInfo}]]></printWhenExpression> <line> <reportElement positionType="Float" x="0" y="14" width="552" height="1" uuid="82be37c4-07d3-41a3-884c-eb8d026077fd"/> <graphicElement> <pen lineWidth="0.5"/> </graphicElement> </line> <textField> <reportElement x="4" y="15" width="71" height="14" uuid="cd06d6fb-f85a-4cca-827a-fb853be2e904"/> <textFieldExpression><![CDATA[$F{SKU}]]></textFieldExpression> </textField> <textField> <reportElement x="76" y="14" width="192" height="30" uuid="9a237a39-9398-44cb-b95e-f35eba134087"/> <textFieldExpression><![CDATA[$F{ITEMDESCRIPTION}]]></textFieldExpression> </textField> <textField pattern="###0"> <reportElement x="271" y="15" width="16" height="14" uuid="73f3dc0e-d232-4a39-b119-988de3411f7c"/> <textFieldExpression><![CDATA[$F{QTYSHIP}]]></textFieldExpression> </textField> </band> the design portion looks like this $F{SKU} $F{ITEMDESCRIPTION} $F{QTYSHIP} Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now