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

Group Header and Page Header

Status
Not open for further replies.

computerman29651

IS-IT--Management
Aug 28, 2006
51
US
Is there a formula that can ne performed if the group header is carried over to a new page then the paged header is suppressed?
 
Try creating a formula like:

whileprintingrecords;
booleanvar flag;

if inrepeatedgroupheader then
flag := true;

Place another formula in the group footer:
whileprintingrecords;
booleanvar flag := false;

Then go to the section expert->page header->suppress->x+2 and enter:
whileprintingrecords;
booleanvar flag;
flag = true; //note no colon

-LB
 
When I do this, both formulas (groupheader and groupfooter) read 'False'
 
This formula belongs in the group header:

whileprintingrecords;
booleanvar flag;
if inrepeatedgroupheader then
flag := true;

-LB
 
I have the formula:

whileprintingrecords;
booleanvar flag;
if inrepeatedgroupheader then
flag := true;

In the Group Header #2

I have the formula:

whileprintingrecords;
booleanvar flag := false;

In the Group Footer #2

I have the formula:

whileprintingrecords;
booleanvar flag;
flag = true;

In the section expert->page header->suppress->x+2

Both the group header and footer are displaying the word 'false on the report, and both headers (group and page) are still being displayed at the top of the page.
 
If I change the formulas around, it appears that everything works correctly.

Here are the changes

GroupHeader Formula:

whileprintingrecords;
booleanvar flag;
if inrepeatedgroupheader then
flag := false;

GroupFooter Formula:

whileprintingrecords;
booleanvar flag := true;

PageHeader Section Expert:

whileprintingrecords;
booleanvar flag;
flag = false;
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top