For Crystal 10, it is Edit > Subreport Links. You have to find something in the subreport to link it to, a field of the same type. This will also automatically add a selection rule for the subreport. You can then remove the selection rule if you don't want it.
Once the link is made, the main report field is available to the subreport, with a prefix of Pm-
If you need to pass anything back, use a Shared Variable.
Madawc Williams (East Anglia, UK). Using Windows XP & Crystal 10
I created a formula in the main report, @person_ID which is MASTER.PERSON_ID field. I created the the same parameter name, person_id in my Add Command.
From the main report, when I linked the subreport, I chose ?person_id from the subreport and it works so far.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.