Jump to content

Two subreports in the same two columns


andyj

Recommended Posts

I'm trying to make a two column report with two subreports one after the other in the same band. As below:

 

Code:

/-------------------------------------
| SubReport1 Hdr | SubReport2 (cont.) |
| report1 row1 | report2 row3 |
| report1 row2 | report2 row4 |
| report1 row3 | report2 row6 |
| -------------- | report2 row6 |
| SubReport2 Hdr | report2 row7 |
| report2 row1 | report2 row8 |
| report2 row2 | |
-------------------------------------/

 

How would I achieve this? (I'm using jasper reports 1.1.1, and iReport)

 

The closest I've got is making a 2 column report with the two subreports below each other with position type: float. But in the example above report2 row3 appears level with report2 row1 (as if the two subreports were in different bands) but then report2 row5 starts at the top of the same column and eventually the rows start overwriting themselves.

 

I'm nearly there, but I'm missing something. Help much appreciated.

Andy.

 

Post edited by: andyj, at: 2006/10/19 07:17

Post edited by: andyj, at: 2006/10/19 07:18

Link to comment
Share on other sites

  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

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