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!

First page is blank.

Status
Not open for further replies.

toke3127

Programmer
Jun 30, 2003
5
GB
I am new to crystal report. I am modifying an already existing report linked to asp. After designing the page, I preview the report in Crystal Reports environment and it looks like I'd like. But when I preview it using Crystal Decisions ActiveX Viewer, the first page prints displaying only the report header but the page header is missing. The 2nd page prints the report footer, which is correct and the page footer.

I actually selected the suppress(no drill down) on the page header because I noticed that without selecting it, I was getting 15 pages, each of these pages having the report header and some part of the report footer (sometimes just 2 lines of it), until the end of the report footer, and the report footer. How can I rectify the report to only print two pages? The first page consisting of Report header and page header only. The second printing both the report footer and page footer only.

Can anyone help?

Thanks.
 
I'm not sure if this is all you need, but it sounds like if you right click the Report Header (and afterwards the page header and do the same) and select format section->X 2 next to suppress and place:

pagenumber > 1

Now do the reverse for the page footer/report footer, only use:

pagenumber = 1

-k
 
Thanks for the suggestion but it does not help unfortunately. I still have the same problem of the first page being empty.
 
Probably because you still have the page header suppressed, turn it off and use the x 2 formula instead...

The solution proposed is pretty basic, if you don't have other factors involved, it should be fine.

-k
 
Personally...unless this is a subreport...I don't understand how you can get multiple Report Headers/Footers

There should only be a single report header and single report footer??? Doesn't make sense to me....there is more to this story...describe what you have done in detail...not just symptoms

Jim Broadbent
 
I have a report header, page header, report footer and page footer.

The Report header has the header (that I want displayed on the first page only).
The page header has a list of people and details ( that I want displayed on the first page with the header).
The report footer has a continuation of the list of people and more details ( that I want displayed on the second page with the footer).
The page footer has the signature, name and address.

The report header, page header, report footer and page footer existed before. The report footer only had a few lines in it. I have just added some more information to the report footer. What I am trying to do is print the report footer on the second page after the first page has printed the report header and page header.

I noticed that if I did not add a Suppress (no drill down) condition, it prints the report header, page header and page footer on every page and then adds a bit of the report footer until it prints it all, one or two lines before the page footer is displayed, making the number of pages 15.

Having added the Suppress (no drill down) condition, it previews ok in the crystal report environment but when I preview it using the ActiveX Viewer, it prints the report header on one page, the page header and page footer on the next and the report footer and page footer on the last. This makes 3 pages but I need to have two pages with the header on the first page as well as the page header and the report footer and page footer on the second and last page. Like I said earlier, it previews fine in the Crystal Reports environment.
 
You cannot print a report header on the second page.

A report header comes first then the rest of the report follows.

You can make a report header run over to a second page but that is it.

Jim Broadbent
 
I have had the same problem where the report views fine in crystal reports, but not in the viewer. This is related to the type of viewer - not how you constructed the report (those questions aside).

All you need to do is change the viewer - unfortunately I haven't worked out how and I'm using enterprise 8 and DHTML.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top