Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Problem while using Page break in JasperReports

 
Sheela Kumar
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
We are facing a problem while using Page break in Jasper Reports.

we are having a main report which calls the Subreport and the
subreport is having a table and 5 more sub reports.

we are passing a arraylist to the main report.The arraylist contains
the Vo's for the reord selected from the user.The VO contains values
for the fields in the sub report and other 5 sub repports in the sub
report. The main report will call the sub report for each vo in the
arraylist.

We need each record to be displayed in separate pages in the same PDF.
There are cases that the 5 subReports in the sub report won't be
displayed only the table in the sub report will be displayed.

We need each record to be displayed in separate pages regardless of
whether the sub report contains other 5 sub reports.

We tried to put a page break after each record so that the next record
comes in separate page but we got an exception element type 'break'
must be declared.


Please help us to solve this issue.


Thanks in advance,
Sheela
[ June 16, 2008: Message edited by: Sheela Kumar ]
 
Campbell Ritchie
Sheriff
Pie
Posts: 50239
79
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to JavaRanch.

I think your chances of an answer will be better if I move this thread; most discussion of Jasper is elsewhere.
 
Campbell Ritchie
Sheriff
Pie
Posts: 50239
79
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sorry you haven't had any responses yet; sometimes there is nobody who knows.
I googled and found this; CTRL-f suggests there is no actual page break function in Jasper.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic