Jump to content
We've recently updated our Privacy Statement, available here ×

Problem with letter report


olu_guy

Recommended Posts

Hi all,

 

I have designed a letter report using jasper reports that prints a two paged letter with some static and dynamic database content. i.e. the names, address, title etc all come from the database, the rest of the content are static. This works fine because I am only generating a letter for a single record (the sql query returns only a single reord).

 

The problem now is that I have to generate the same letter but for multiple records (i.e. sql query will return more than one record of name, address etc).

 

Since a letter for a single record takes 2 pages, I need the entire report in a single file but with each record starting on a new page (page break maybe ?) What I am getting now is the entire report together but the next letter starts after the previous one ends without starting on a new page.

 

Any thouhts ?

 

Cheers

Link to comment
Share on other sites

  • Replies 2
  • 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...