Okay, I thought you wanted something more complicated. Note that you could allow the repeating group header and to eliminate confusion, add a formula to the group header:
if inrepeatedgroupheader then
"Continued from the Previous Page"
If you still want to suppress the repeating group header on the second page when the subreport crosses pages, you can do this:
Create a formula:
//{@true} to be created in the field explorer->formula->new and placed in the group header of the group you want to conditionally suppress:
whileprintingrecords;
shared booleanvar flag := true;
In the subreport, in the report footer, add this formula {@false}:
whileprintingrecords;
shared booleanvar flag := false;
Then in the main report, go to the section expert->group header->suppress->x+2 and enter:
whileprintingrecords;
shared booleanvar flag;
inrepeatedgroupheader and
flag = true //Note no colon
To get the message in the page footer of the report when the sub crosses pages, use this formula:
whileprintingrecords;
shared booleanvar flag;
if flag = true then//note no colon
"Continued on Next Page"
-LB