sharkoff76 Posted July 21, 2021 Share Posted July 21, 2021 Hello!I have huge report which generated in XLSX format. Count of rows over 3 000 000For correct all rows divided by some principal and i get many pages in Excel . On every page count rows < 1 000 000So i made it this way: In SQL request i make Page-switcher like this<field name="PAGER_NEW" class="java.lang.String"/>... <variable name="Var1" class="java.lang.String"/>.. <textField> <reportElement x="1020" y="0" width="10" height="15" forecolor="#FFFFFF" uuid="73246961-8f9a-45f4-8991-b5352aaf31b3"> <property name="com.jaspersoft.studio.unit.height" value="px"/> <property name="net.sf.jasperreports.export.xls.break.before.row" value="true"/> <printWhenExpression><![CDATA[$F{PAGER_NEW}.equals("1")]]></printWhenExpression> </reportElement> <textFieldExpression><![CDATA[$V{Var1}]]></textFieldExpression> </textField>So work perfect but I want header on every page will the sameLike Page0 - header - detail dataPage1 - header - detail dataPageN - header - detail data Now :Page0 - header - detail dataPage1 - detail dataPageN - detail data How i can do it? 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