bgoodway Posted August 18, 2010 Share Posted August 18, 2010 I'm trying to get the group header to print at the top of each page. It does print when the group changes. I have tried using the page header, but then I need this to not print if the page header just printed.I'm using iReport with NetBeans IDE 6.8 <group name="DateBlock" isReprintHeaderOnEachPage="true"> <groupExpression><![CDATA[$F{DateBlock}]]></groupExpression> <groupHeader> <band height="26"> <textField pattern="EEEEE"> <reportElement x="130" y="4" width="75" height="14" printWhenGroupChanges="DateBlock"/> <textElement> <font fontName="Cambria"/> </textElement> <textFieldExpression class="java.sql.Timestamp"><![CDATA[$F{DateBlock}]]></textFieldExpression> </textField> </groupHeader> </group> Link to comment Share on other sites More sharing options...
despec Posted August 19, 2010 Share Posted August 19, 2010 I'm using an older Ireport, where you can VIEW-->REPORT GROUPS and set the option to print the header on each page, so perhaps look around in Ireport and you'll see the same. David Link to comment Share on other sites More sharing options...
bgoodway Posted August 19, 2010 Author Share Posted August 19, 2010 That is what the line: <group name="DateBlock" isReprintHeaderOnEachPage="true"> is supposed to do. 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