Jump to content
Changes to the Jaspersoft community edition download ×

Page Header and Footer cant be displayed


2004 IR Help

Recommended Posts

By: sunonepp - sunonepp

Page Header and Footer cant be displayed

2004-08-04 19:54

Hi, All:

 

when I use iReport to generate some report, the Page Header and Footer cant be displayed if there is no data(in detail band) on the second page, only the summary band can be displayed...

Is there any way to make the header and footer visible?

 

Thanks

 

sunonepp

 

 

 

 

By: Giulio Toffoli - gt78

RE: Page Header and Footer cant be displayed

2004-08-05 06:17

 

Go to report properties -> tab more -> When no data = AllBandsNoDetail

 

Giulio

 

 

 

 

By: sunonepp - sunonepp

RE: Page Header and Footer cant be displayed

2004-08-05 07:29

Hi,

Thanks for your reply. But I am sure tried this way before. the second page still cant display page header and footer without any data in detail band...

I am trying to use a counter to limit the number of records that can be displayed on each page. any one get any idea on this? shall I use which method from abstractScriptlet class?

 

thanks!

sunonepp

 

 

 

 

By: dma - realdemo

RE: Page Header and Footer cant be displayed

2004-08-05 11:54

Please let me know when you find a solution. I have the same problem. In my report the summary will print on a new page, because on the first page there is not enough place. And on the second page, there is no page header and page footer.

 

Thanks

 

 

 

 

By: dma - realdemo

RE: Page Header and Footer cant be displayed

2004-08-05 12:58

I found a solution. I don't known it, that the summary is always printed without header and footer.

 

 

 

 

By: sunonepp - sunonepp

RE: Page Header and Footer cant be displayed

2004-08-05 18:11

Hi, dma:

what solution is it? pls tell me...

Thanks

sunonepp

 

 

 

 

By: sunonepp - sunonepp

RE: Page Header and Footer cant be displayed

2004-08-05 19:05

I found the same problem in jasper samples...

pls have a look at jasperreports-0.6.0demosamplesscriptletScriptletReport.pdf. There are totally 3 pages of the pdf file, but the page header and footer cant be displayed on the 3rd page if no data...

help...

sunonepp

 

 

 

 

By: dma - realdemo

RE: Page Header and Footer cant be displayed

2004-08-06 00:00

In my case I put the data in the summary, and this section was printed on a second page when there was not enough place on the first one. I found my solution here: http://jasperreports.sourceforge.net/tips.tricks.html

I created a fake group and put the data in the fake group. Now it works fine.

 

My error was that I don't knew it, that the title and the summary are always printed without Pageheader and Pagefooter.

 

Do you mean this sample?

http://jasperreports.sourceforge.net/samples/ScriptletReport.pdf

 

There are only two pages.

 

I hope this helps

demo

 

 

 

 

 

By: sunonepp - sunonepp

RE: Page Header and Footer cant be displayed

2004-08-06 01:56

but the pdf file I download has 3 pages!? so strange

thanks

Link to comment
Share on other sites

  • 2 years later...
  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

2004 IR Help
Wrote:

By: sunonepp - sunonepp
Page Header and Footer cant be displayed
2004-08-04 19:54
Hi, All:

when I use iReport to generate some report, the Page Header and Footer cant be displayed if there is no data(in detail band) on the second page, only the summary band can be displayed...
Is there any way to make the header and footer visible?

Thanks

sunonepp

...

By: dma - realdemo
RE: Page Header and Footer cant be displayed
2004-08-05 11:54
Please let me know when you find a solution. I have the same problem. In my report the summary will print on a new page, because on the first page there is not enough place. And on the second page, there is no page header and page footer.

Thanks

...

By: dma - realdemo
RE: Page Header and Footer cant be displayed
2004-08-05 12:58
I found a solution. I don't known it, that the summary is always printed without header and footer.

...

By: sunonepp - sunonepp
RE: Page Header and Footer cant be displayed
2004-08-05 19:05
I found the same problem in jasper samples...
pls have a look at jasperreports-0.6.0demosamplesscriptletScriptletReport.pdf. There are totally 3 pages of the pdf file, but the page header and footer cant be displayed on the 3rd page if no data...
help...
sunonepp

...

By: dma - realdemo
RE: Page Header and Footer cant be displayed
2004-08-06 00:00
In my case I put the data in the summary, and this section was printed on a second page when there was not enough place on the first one. I found my solution here: http://jasperreports.sourceforge.net/tips.tricks.html
I created a fake group and put the data in the fake group. Now it works fine.

My error was that I don't knew it, that the title and the summary are always printed without Pageheader and Pagefooter.

...

I hope this helps
demo

>> ...the summary is always printed without header and footer.

>> ...the page header and footer cant be displayed on the 3rd page if no data...

>> ...My error was that I don't knew it, that the title and the summary are always printed without Pageheader and Pagefooter.

 

Not true.  If you do not select "Summary on a new page", it can print immediately after the detail band is finished, with the header and footer.  Apparently this behavior of printing on a separate page without header and footer happens only if there be some sort of interaction with an approaching page break (if you've not selected "Summary on a new page")...

 

René



Post Edited by René Valencourt at 11/10/08 16:10
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...