klaidlaw:
Only taking a guess on this one, as I am not familiar with CR 11 r2 (I use 8.5 and 10) - but perhaps this will help.
In (unsuppressed) section above GH2b perhaps create a new group section and white-text the formula field so it seems hidden, place the following:
@VariableReset_SuppressGF2b:
whileprintingrecords;
Shared BooleanVar SuppressGF2b:=FALSE;
In the subreport, pick any field from the subreport and check for Null... if null then no records were returned in the subreport.
@VariableSet_SuppressGF2b:
whileprintingrecords;
Shared BooleanVar SuppressGF2b;
IF IsNull({Table.Field}) THEN SuppressGF2b:=TRUE;
On the main report, in the suppresion formula for GF2b, place the following:
GF2b Suppression Formula:
whileprintingrecords;
Shared BooleanVar SuppressGF2b;
SuppressGF2b=TRUE;
I sadly haven't had a chance to test for certain, but hopefully helps in your pursuit of a solution.
Mike
--------------------------
"To be alive is to revel in the moments, in the sunrise and the sunset, in the sudden and brief episodes of love and adventure, in the hours of companionship. It is, most of all, to never be paralyzed by your fears of a future that no one can foretell."
Author R.A. Salvatore via "Drizz't"