markie.alpinista Posted April 16, 2014 Share Posted April 16, 2014 Hello!I have two text fields inside a detail band. Here follows band XML code:<band height="40" splitType="Prevent"> <textField isStretchWithOverflow="true"> <reportElement positionType="Float" stretchType="RelativeToBandHeight" x="0" y="20" width="100" height="20" isPrintInFirstWholeBand="true" isPrintWhenDetailOverflows="true" uuid="67cd0dfb-9a6d-4468- 8aac-3f48e539c584"/> <textFieldExpression><![CDATA[$F{Resposta}]]></textFieldExpression> </textField> <textField isStretchWithOverflow="true"> <reportElement positionType="Float" stretchType="RelativeToBandHeight" isPrintRepeatedValues="false" x="0" y="0" width="100" height="20" isPrintInFirstWholeBand="true" isPrintWhenDetailOverflows="true" uuid="c7fa90d3-2b11-4127-b319-5461a80acb2d"/> <textFieldExpression><![CDATA[$F{Nome Questão}]]></textFieldExpression> </textField></band>As you can see, the text fields position type is "float", stretch type is "Relative to band height" print in first whole band is "true" print when detail overflows is "true" and stretch with overflow is also "true".Band's Stretch Type is set to "Prevent". I don't get it why it does not print all the rows I should get with my query. It should continue printing in more pages until all rows were displayed.Any ideas? [EDIT]It's working. Link to comment Share on other sites More sharing options...
sadakar Posted April 21, 2014 Share Posted April 21, 2014 Do not give any properties as mentioned. Just try drag and drop the fields from Fields pane to Detail band and text it. Also remove all unncessary bands. 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