I am trying to hide GroupFooter2 if GroupHeader1 is not visible. I setup the following, and tried several different variants with no luck. I have tried it in both the OnPrint and OnFormat in both the header and footer sections.
=IIf([GroupHeader1].[Visible]="0",[GroupFooter2].[Visible]="0",[GroupFooter2].[Visible]="-1")
GroupHeader1 and GroupFooter2 are in the same group. Report is first grouped by "Salesman" and then by "CommCode"
Any thoughts?