Click to See Complete Forum and Search --> : New CR9 Problem


dakauten
February 24th, 2006, 07:12 PM
How can i hide the Pageheader using code in Crystal Report 9?

What i want is in first page the pageheader is present but i want to hide it second page til last page...

thnx

FaFa
February 25th, 2006, 02:30 AM
Hi,

Put this Code inside a Formula e.g. @fafa

/***
stringVar vcPageLast := right(cstr(PageNofM ),len(PageNofM )-InStr(PageNofM,"f")) ;
vcPageLast;

if PageNumber =1 or val(cstr(PageNumber)) =val(vcPageLast) then
true
else
false
/***


then
in the Page header in the 'Section Expert' tick the 'Supress' and reffer the
formula {@fafa}, just drag and drop

this coding will show the Header in the first page & the Last hide in between all the other pages, guess thats what u want

FaFa

FaFa
February 25th, 2006, 02:40 AM
Sorry it happens ViseVersa

this coding will HIDED the Header in the first page & the Last SHOWS in between all the other pages, guess thats what u want

just change the True and False the way u want