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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Suppress Page Footer on Beginning of new Group 1

Status
Not open for further replies.

DallasAggie

Programmer
Oct 24, 2002
98
US
-------------------------------------
Crystal Reports 9 Developers Edition
-------------------------------------

Hi all.

I have a report with only one group...for each break in group, I have a "Cover Letter" being generated, with all the details following using "New Page After"...and also doing a "Reset Page After"

The problem is, that my Cover Letter has the disclosure statement, date and Page N of N at the bottom. I need to some how hide/suppress it on that field.

Info:
-------------------------------------------------------------
- RH : Not used, SUPPRESS
- PH : Not Used, SUPPRESS
- GH1a : Subreport with Cover Letter, New Pager After, Reset Page Number After
- GH1b : Contains Client Name / Address
- GH1c : Column Titles, Text Only
- Details : Database fields, nothing special here
- GF1 : New Page After w/Formuula: not(onlastrecord), Reset Page Number After, Keep Together
- RF : Not Used, SUPPRESS
- PF : Print Date, Page N of M, Disclosure Stmnt.
-------------------------------------------------------------

Does any one know what I can do to remedty this? Maybe it's the way I'm creating the Cover Letter (using Group 1a) ? Any advice would be greatly appreciated.

The reason I didn't use the Report Header or Page Header is because (a) Report Header only prints once, and (b) Page Header doesn't have New Page After. The only way I could get the details to start on a new page was to expand the subreport frame to push the details on the next page -- but that caused some major issues -- it would break apart of record onto seperate pages...weird...so my 172 page report was churning away at over 150,000 pages -- before I stopped it! hhhmm.

Kind regards,
Robert
 
Oh...one more thing,

Group 1 does have "Repeat Group Header on Each Page" ... so I have also tried suppressing PF with "InRepeatedGroupHeader" and NOT(InRepeatedGroupHeader) .. neither worked.

InRepeatedGroupHeader = nothing happened, all PF's still show

NOT(InRepeatedGroupHeader) = all PF's were suppressed

:(
 
Try creating two formulas:

//{@true} to be placed in GH1a:
whileprintingrecords;
booleanvar flag := true;

//{@false} to be placed in GH1b:
whileprintingrecords;
booleanvar flag := false;

Then go to the section expert->page footer->suppress->x+2 and enter:

whileprintingrecords;
booleanvar flag = true; //note there is no colon

-LB
 
lbass!

You ROCK!!! That is awesome! Worked exactly the way I needed it to work. WooHoo! :)

My boss will be happy that I don't have to put the page number on top of the page now :)

Thanks,
dA
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top