mariel.o.feitosa Posted September 5, 2019 Share Posted September 5, 2019 Pessoal bom dia,Alguem poderia me ajudar na contrução de um report com mais de uma pagina, preciso fazer uma proposta comercial e não estou conseguindo fazer.Obrigado a todos. Link to comment Share on other sites More sharing options...
djohnson53 Posted September 6, 2019 Share Posted September 6, 2019 Google Translate:Report with 2 or more pages [edit] Guys good morning, Could someone help me in building a report with more than one page, I need to make a business proposal and I can not do. Thank you all. Link to comment Share on other sites More sharing options...
C-Box Posted September 12, 2019 Share Posted September 12, 2019 Where is the problem - don't understand what the real problem is? If you create a query from a database let's say SELECT id, date, customerno FROM orders and you place each field $F{id}, $F{date} and $F{customerno} into the DETAIL BAND of your jrxmal, then the report will render per record one detail. Let's say 20 records will fit to one page and you have 100 records.... well then 5 pages will be rendered! So this is normal JasperReports is working.If you need some static stuff you can use several "DummyGroupsBands" (a group without any expression)... there it is possible to define x-GroupHeaderBands that are let's say 802 pixel in height (so A4 = 842 - 2x20px for top/bottom margins) there you could place some static stuff independently of your query results. So assume you need 2 full sized pages you could create to groupheader bands (each 802px in height) and place your static stuff inside. (by default the sum of all default band heigths are not allowed to be larger than the page height itself - EXCEPT group headers/footers!) That's the trick!hth + regardsC-Box 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