Jump to content

creating a more than 1 page report


chiara

Recommended Posts

Hi to everyone!!!

I'm just new in this forum and I'm a new iReport user too!!! To say the truth I'm using the iReport adptation to the software LocalGIS, but I see no many difference at all with the original software. I have a big problem I hope someone can help me to solve. I'm trying to create a report of more than 1 page (without counting theTitle and the summary). p.ex, puting in one all the information about a urban area and in the other the plan and some images. I tried with "Insert a page/column break" but it doesn'work. what I want is the possiblility to insert a new page in the same report, I mean with a new page header, column header etc 'till the page footer. Is it possible? because I read that someone succeded in it but I can't find HOW!

thx,

Chiara Porcu

Link to comment
Share on other sites

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

 

It depends by your iReport version. The easiest way in iReport 3.7.0 is to add other detail bands and a page break at the end of the first ones, so each detail can take a whole page.

If you use an older version, you should use a subreport for each page, and pass what you need to print to the subreport using parameters. The subreport may have a datasource expression like:  new net.sf.jasperreports.engine.data.JREmptyDataSource()

Between each subreports, put a page break element.

Now, can you read this post? It's very important:

http://jasperforge.org/plugins/espforum/view.php?group_id=83&forumid=101&topicid=74332

Thanks a lot

Giulio

 

Link to comment
Share on other sites

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...