See the attached file. I filled in the Link Master/Child fields property for the subreport CONTROL. I also created an invisible textbox (Text21) on the report which is bound to tblTempBasic.CompID. The Link Master Field property is set to point to this textbox and retrieve the current CompID.
I also took the liberty of shortening the detail section and adding a page break because if there were more than a couple of names in the subreport, the length of the detail section would grow and cause a second page to be created for that record.
Hope that works for you.