View Full Version : Diffrent page headers in report


dealwi8me
07-08-2009, 09:28 PM
Hello all,

Is it possible to have one page header at the first page and a diffrent one at the rest of the pages?

Thank you in advance.

stopher
07-08-2009, 10:59 PM
Yes. If you put something like this in the page On Format event:

IF me.page=1 THEN
me.mypageheadertextbox="text for page 1"
ELSE
me.mypageheadertextbox="text for page 2 onwards"
ENDIF

hth
Chris

Kafrin
07-09-2009, 01:33 AM
Alternatively, you can set it so that the Report header and the Page header don't appear on the same page, so that the first page shows only the Report header and not the Page header, and the other pages show just the Page header as normal.

To set this, get the Properties up for the entire report, and on the Format tab find "Page Header". Set the value for this to "Not With Rpt Hdr". Now your Report header is your first page header and the Page header is the header for the remaining pages. The two are totally independently customisable.

Lightwave
07-18-2009, 04:05 AM
Kafrin that's neat...

Lleuadwen
08-05-2009, 07:49 AM
I have done this myself and it works really well except that I have a blank last page which just has the page header....any ideas how I can stop this happening?