2005 IR Help Posted August 26, 2006 Share Posted August 26, 2006 By: Mark Wilson - markwil Page numbering -> weird problem 2004-07-20 06:26 Hi all, I have a report with over 100 pages and all page numbering works fine EXCEPT for page 100!! I get "Seite 10 von 101" instead of "Seite 100 von 101". Page 101 works OK ("Seite 101 von 101") I use the following code to print the page numbers (in German): <staticText> <reportElement positionType="FixRelativeToBottom" x="185" y="785" width="40" height="15"/> <textElement> <font reportFont="Arial_Bold"/> </textElement> <text><![CDATA[seite:]]></text> </staticText> <textField> <reportElement positionType="FixRelativeToBottom" x="225" y="785" width="35" height="15"/> <textElement textAlignment="Justified"> <font reportFont="Arial_Bold"/> </textElement> <textFieldExpression class="java.lang.String"><![CDATA[string.valueOf($V{PAGE_NUMBER})]]></textFieldExpression> </textField> <textField evaluationTime="Report"> <reportElement positionType="FixRelativeToBottom" x="260" y="785" width="60" height="15"/> <textElement> <font reportFont="Arial_Bold"/> </textElement> <textFieldExpression class="java.lang.String"><![CDATA["von " + String.valueOf($V{PAGE_NUMBER})]]></textFieldExpression> </textField> Any ideas?? - Mark By: Mark Wilson - markwil RE: Page numbering -> weird problem 2004-07-20 06:28 Addon: I looked in the jrprint file and the numbering is false: instead of 100 I found 10! - Mark By: Tobias Gaekle - ike987 RE: Page numbering -> weird problem 2004-07-20 06:38 maybe the width of the field isn't big enough so one zero gets truncated - and 101 may still fit. By: Mark Wilson - markwil RE: Page numbering -> weird problem 2004-07-20 06:52 Nope - checked that! By: Mark Wilson - markwil RE: Page numbering -> weird problem 2004-07-21 04:54 Problem solved - was looking at summary section instead of main body!! - Mark 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