views:

879

answers:

5

Hello, I am using Crystal Reports in Visual Studio 2008. I have about 5 pages worth of static text that needs to appear at the top of my report, so I put it in the report header section. I have a page footer section on the page that shows the page number. This does not show, and I suspect it has something to do with the long report header. How can I make the page footer show with a large report header?

Edit: The Page Footer is actually appearing once on the last page. The Report Header takes up 5 pages and there isn't a page footer on any of those pages.

+2  A: 

Can you split static text between many header (sub)sections (in a way that every section has about pageful of text)? May help.

Arvo
I think that is a workaround that I could use. I am going to keep looking for something a little easier, but I may come back to this. Thanks.
Mike C.
A: 

Ken Hammady has a solution for crosstabs at http://kenhamady.com/cru/archives/87

It can be adapted to work with long texts in textboxes.

Tesla
A: 

I moved all of my text from the Report Header to the Report Footer, and the page numbers will print. I will add a subreport to show my detailed data.

Mike C.
A: 

Hi! I had exactly the same problem. My report header was very long and the page number only was appearing at last page. The problem was that i had my page number in the Report Footer. Then i realize that i had a Page Footer section and moved the page number there. I also changed the section properties (it had the No Drill down option checked). Now i have the same big header with the page number on all pages. Bye

Choli
A: 

I don't yet have any "reputation" to vote, but I wanted to give props to Tesla above for posting Ken Hamady's solution (http://kenhamady.com/cru/archives/87) which worked well for me.

Mike's workaround was not feasible for me as I was using Detail sections that needed to appear below the Report Header.

Ken's solution effectively recreates the report header within a group header without changing the report. Unlike Report headers/footers, Group headers/footers) are evaluated within the confines of the page header/footer. Therefore, the page footer will run per page, beginning on page 1 instead of after the report header is finished evaluating.