Set up a flag and increment the counter for each group header in GH2.
Similarly set up a flag and increment the counter for each item in Details
Create a formula:GH2_flag
if GH2is not null then
1
else
0
Place this formula in Gh1section.Go to section expert>>supress>>click on the box adjacent to it>>
GH2_flag=0
Similarly repeat this for Detail section.
Hope this helps.
Thanks,
Lakshmi