Create two formulas:
//{@true} to be placed in the section containing the subreport that requires the special page footer:
whileprintingrecords;
booleanvar flag := true;
//{@false} to be placed in the section immediately after the one containing the specific subreport, e.g., if the sub is in GF#1, place this in the corresponding group header, GH#1 (the next section that will print, if it exists) and the Report Footer (the next section after the last group):
whileprintingrecords;
booleanvar flag := false;
Set up Page Footer_a for the rest of the report, and then set up Page Footer_b for the specific sub. In the section expert->Page Footer_a->suppress->x+2 and enter:
whileprintingrecords;
booleanvar flag;
flag = true;//note no colon
Then select Page Footer_b->suppress->x+2 and enter:
whileprintingrecords;
booleanvar flag;
flag = false;//note no colon
-LB