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

Hiding page headers on the fly 1

Status
Not open for further replies.

vestigo

Technical User
Feb 2, 2005
8
CA
Report Details: I have a graph in the Report Footer section of my report. I have column headings in the Page Header section.

Problem: If there is not enough room on the last page of the report, the graph forces itself onto a new page. This is understandable, and is not what I am concerned about. My issue is that, because it's a new page, the column headings are displayed above the chart.

Question: How can I hide the column headings on the last page of the report - if there is no data on that page (only the graph).

Thanks!
 
Create two formulas:

//{@true} to be placed in the detail section:
whileprintingrecords;
booleanvar flag := true;

//{@false} to be placed in the report footer (the section where your graph is located):
whileprintingrecords;
booleanvar flag := false;

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

whileprintingrecords;
booleanvar flag;
flag = false;

-LB
 
Awesome! Thanks for you help, LB, this worked perfectly!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top