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

Remove Duplicated Group Header

Status
Not open for further replies.

maas

Programmer
Sep 3, 2009
148
BH
Hello All,

I am desiging a report and having a group header which is displayed duplicated at the top whenever it does not have enough space to complete in the previous page, when it goes to the next page the group header will be displayed showing that it is continued.

Suppose, Group Header Called Instruments and placing a field in it Instrument Name, it is showing the details below it. When it has more fields, it will go to the next page. When it goes to the next page, it is showing Instrument Name again at the top and it will continue diplaying the records.

I tried to supress if duplicated for the instrument name, but it is still showing on the next page.

I need to remove this because I am using an accummlating formula which is in


So, while calculating the result for each group the reset formula will come. It will reset the data because it is showing on the next page and will not save the totals in the variable.

So, can you please help me
 
Show the content of the reset formula--the actual formula, please.

-LB
 
whileprintingrecords;
numbervar sumpct;
sumpct := 0;

I tried to put an if statement, if the group header = previous group header to supress it. But, it did not success and did not get the syntax
 
As in your other reset formula:

whileprintingrecords;
numbervar sumpct;
if not inrepeatedgroupheader then
sumpct := 0;

-LB
 
I will try this and come back again.

Thank you
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top