Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Problems with the displaying of the report header

Status
Not open for further replies.

mondi

Programmer
Sep 10, 2003
169
AL
I have to make a report in which the first page must be different from the others. Well, I have made the first page in the report header but the lower part of the report header is displayed in the second page and in the first page is displayed only a blank space in the lower part of the page. I'm afraid it might be of the <page footer> section.
Can anyone help me? Thanks in advance.
 
Look at the gray area to the left of the preview screen to see what sections are being displayed. You could also have a page header showing. You could either go to format section->report header and choose &quot;New Page After&quot; or suppress the page footer and page header on the first page by selecting each section (page footer and header)->suppress->x+2 and entering:

pagenumber = 1

-LB
 
The <New Page After> is disabled at report header. And I need the sections <page header> and <page footer>. I am sure that the report header, I have made, is not bigger than one sheet.
 
Are you sure it isn't &quot;New Page Before&quot; that is disabled? I can't imagine how &quot;New Page After&quot; could be disabled. Also the suppression formula I gave you will only suppress the page header and footer on the first page where you have the report header, NOT on the remaining pages.

-LB
 
No this didn't solve my problem and I'm sure the <New Page After> is disabled. I don't know what to do.
 
tell us what you have placed in the report header. layout how you have constructed your report.

So far you have documented a problem but have given us few clues as to how it is caused.

Jim Broadbent
 
I have to make a report which must have a page which will be the report header and the other pages will have the page header and page footer.
First I have to make some line and box objects so I can orient myself where to put the data fields in report.
I made first the report header at <report header> section. And when I finished it,it seemed almost OK. The lines seemed to be in the right places.
But when I started to make the design for the other pages, the lower lines and boxes that I made for the report header went down in the second page, and the lines that I made in the page header for the other pages were were not in the place I tried to put them.
 
you have told us virtually nothing about your report....sorry

Jim Broadbent
 
I did this for a DD250 form which has a boxy first page, and open area for the continuation pages.

Don't put your first page in the page header. Create sections in the header, details, and footers, for page 1, and another set of sections for the continuation pages.

Use conditional formatting for the different sections. Suppress page one sections with PageNumber<2, suppress continuation sections with PageNumber>1.

I suppressed the Report Header. I split the Page Header into three sections, one for Page 1, one for continuation pages, and one that shows up on all pages. I put most of the boxes for Page 1 into Group Header 1c. The continuation pages use Group Headers 1b and 1d. Details show up on all pages.

Draw your lines through the Details section and the header section used for the continuation page and then down to the page footer. Then they won't end in space. This may take some practice.

Roz
 
I tried this way, but now when the report doesn't load in the form. I have a message like this &quot;Report footer or header too long&quot; and I'm sure that the page header c ,I made, which is the longest section in my report, is not longer than one page.
I can't find what's wrong. Can you help me?
 
Mondi,

I am not able to replicate your problem. Which version of Crystal are you using?

Do you have any fields checked as &quot;can grow&quot; or &quot;keep together&quot; in your page header? Do you include other sections in your page selection criteria that may increase the total page size? Check all of your conditional formatting to make sure something isn't included in Page 1 that shouln't be.

Roz
 
I am using the Crystal Reports for .NET.
The problem is like this. I created the sections as you said. I put the page that I want to be the report header in the first section of <page header>. and in the other section I put what it has to be the page header for the pages in continuation.
I haven't put yet any data fields in my report. I am just making some lines to orient myself where to put the data fields.
I'm afraid the problem is at <suppress>. The section a) of <page header> is exactly one page.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top