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

Supressing Group header based on subreport-sum

Status
Not open for further replies.

Tamina

Programmer
Oct 3, 2000
21
HR
I have 2 subreports in my Details section. From those subreports, I'm collecting a value (sum), which is then shown in Group footer. I use shared variables.

Sometimes there are no records to display in Details-section. In that case, in would be nice to hide Group header and footer. I have no problems with hiding the footer, but can't find the way to hide the header, because in the given moment my shared var sum1 still has the sum-value of the previous group. After that, in Group header I have an initialisation formula, and then the subreports are processed. By the time I get the right sum, my Group header is already displayed. Or not?

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top