Sounds like an evaluation time issue, the subreport has to be placed higher than the shared variable that you are bringing over. In such cases i will sometimes strip out all non-relevant data out of the subreport, and place it near the top of the report, then try placing the shared variable below that section and see if the formula you created is being populated. the subreport can be shrunk down in the upper portion of the report to where it is not noticeable.
Hope this helps! this can even be done for example in the following: split page header into section a and b, place subreport into setion a , place shared variable formula in section b and see if the shared variable populates. Seagate Certified RCAD Specialist.
-Bruce Thuel-Chassaigne
roadkill150@hotmail.com