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

Correct place to be of a table in JasperSoft


mpolo91
Go to solution Solved by mahadiosb,

Recommended Posts

Hello,

I'am using a table in JasperSoft that is placed in the detail band. The table is filled with data queried from a database. If I start the preview so in JasperSoft I get a report with more than 20.000 pages. Normally the report should have not more than 80 pages. I have read that a table should not placed in the detail band. If this is fact, what is the correct band for a table? As I can see all header and footer bands a restricted by the height. So it is not possible to place the table there. Also the summary band produces a report with to much pages.

 

Link to comment
Share on other sites

  • Replies 3
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

  • Solution

Put that table in the summary section or add it in the Title or page header section.

Basically, the detail section shows data as many times as you have rows. For example, if you have data with 3 rows then, the Details section calls 3 times. If you add the table in the detail section which shows 5-row data then 3 tables will show. Cause details have 3-row data. means it will multiply with details section data, which means 5 x 3 = 15 row

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