Topic: Shared variable Posted: 02 Mar 2012 at 7:18am
I have a formula in my subreport that I would like to use as a parameter in my main report. I know I can pass a parameter to the main report through a shared variable, but I can't quite figure out the formulas and where they go.
Joined: 29 Oct 2009
Online Status: Offline
Posts: 1587
Posted: 02 Mar 2012 at 7:23am
I do not believe you can use a result from a subreport to be a parameter (filter) for the main report. A round about way would have two subreports where the main report is just a holding spot for the subreports. So you can put the first subreport in lets say the main report header and it will return (via a shared variable) a value, then in the main report footer you could have a second subreport that would use that shared variable as a parameter (filter) for the subreport. I have never tried this, but I believe it would work. It is kinda sloppy, but it might work. Of course there may be a much better solution (help me out here!!).
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum