Jump to content
Changes to the Jaspersoft community edition download ×

Page break with only 1 record for main query

Recommended Posts

By: dee - csdee

Page break with only 1 record for main query

2006-04-02 23:45

Hello world,


I have been banging on my head for a few days just to get the correct layout for my report. Heres my problem, hope somebody could help me out.


I'm using iReport (v1.2) and JRXmlDatasource. The XPATH query for my main report is '/*'. I have setup multiple subreports with JRXmlDataSource with XPATH query '/document/elements/*'. Everything works fine but the problem arise when i want to page break each subreports.


I have tried using dummy group with expression '$V{REPORT_COUNT} and checked 'start on a new page' checkbox. Played around with 'Minimum height to start new page'. But i still can't get the desired layout.


my desire layout is something like this



[Detail in Subreport]






Thanks in advance

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Create New...