I replicated the problem and the following worked.
Remove the subreport link. In the main report, create a formula {@sharedparm}:
whileprintingrecords;
shared stringvar salesperson := {?salesperson};
Place {@sharedparm} in the report header and suppress it.
In the subreport, go to the section expert (format->section)->details->suppress->x+2 and enter:
whileprintingrecords;
shared stringvar salesperson;
{activity.salesperson} <> salesperson
You didn't specify where your subreport was or whether you were using any other links. If this doesn't work for you, then please provide more information about your report structure.
-LB