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

Detail band border spanning multiple pages


jrarnold

Recommended Posts

All, I am trying to generate a report in iReport ( 5.1.0 ) formatted basically as follows:

With the following example query result data set:

Dealer Name Region ColC ColD ColE
DealerA East 1C 1D 1
DealerA East 2C 2D 2
DealerB West 3C 3D 3
DealerB West 4C 4D 4
DealerB West 5C 5D 5
DealerB West 6C 6D 6
DealerB West 7C 7D 7
DealerB West 8C 8D 8

Output would be as follows:

 Dealer:  DealerA

Region:  East
|-----------------------------------------|
| ColC           ColD             ColE    |
| 1C             1D                  1    |
| 2C             2D                  2    |
|-----------------------------------------|
   Totals                            3
 
Dealer:  DealerB
Region:  West
|-----------------------------------------|
| ColC           ColD             ColE    |
| 3C             3D                  3    |
| 4C             4D                  4    |
| 5C             5D                  5    |
| 6C             6D                  6    |
| 7C             7D                  7    |
| 8C             8D                  8    |
|-----------------------------------------|
 
   Totals                           33
 
Basically a group band on Dealer and Region, then detail band with the rest of the columns. Then a sum of ColE for the group in the Group Footer. The detail band should have a box drawn around it.  I have everything working except the box.  I have drawn the box by putting a line at the bottom of the Group Header band, a line at the top of the group footer band, and lines on the left and right of the detail band.  This works as needed, until the detail band wraps accross the page.  When that happens, I get this:
 
Dealer:  DealerB
Region:  West
|-----------------------------------------|
| ColC           ColD             ColE    |
| 3C             3D                  3    |
| 4C             4D                  4    |
 
-- New Page --
 
| 5C             5D                  5    |
| 6C             6D                  6    |
| 7C             7D                  7    |
| 8C             8D                  8    |
|-----------------------------------------|
 
   Totals                           33
 
 
I need to close the box on the first page, and start the box on the second page Can this be accomplished?
 
Thanks!
 

 

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