Jump to content

table on multiple pages=>page footer only on last


hybris0

Recommended Posts

AFAIK the only way to layout correctly a table is to put it in the title band

The problem arises when the table contains enough data to need more pages

In that case the title band is stretched and the table is correctly rendered on multiple pages but the page footer is printed only in the last page.

How to solve this?

My objective is to create a report that contains multiple tables and charts  populated by different datasources.

Should i switch to subreports and forget about tables?

Link to comment
Share on other sites

  • Replies 3
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

I still don't know. never used sub reports before but after a quick test the problem seems the same because i have to put them in title because detail band is not rendered if your subreport do not depend on a query on the master report.

Anyway i found a trick:

1- put the stuff in the detail band

2- pass an empty datasource of size 1 as REPORT_DATA_SOURCE

This way the detail band is rendered once and all headers and footer are where they should be and the table in it spand acrooss the needed page.

Quite unintuitive but i finnaly found the way.

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