Hi Nigel,
Thanks for the reply. After much educating myself on how Crystal processes reports, I came to the same conclusion. I can't actually pass the record count back up to the main report from an on-demand subreport because it hasn't actually processed until you click the subreport.
What I have without ondemand works so we'll call it a win for now.
Thanks,
Jared
Thanks for the reply. After much educating myself on how Crystal processes reports, I came to the same conclusion. I can't actually pass the record count back up to the main report from an on-demand subreport because it hasn't actually processed until you click the subreport.
What I have without ondemand works so we'll call it a win for now.
Thanks,
Jared
--- In vantage@yahoogroups.com, "NigelK" <nigel.kerley@...> wrote:
>
> Hi Jared,
>
> I don't think Crystal can do what you want. There's no formula button beside the "On-demand Subreport" checkbox, so you can't set a condition there.
>
> Also, because the subreport is "on-demand", until you actually preview it, it hasn't been run and therefore can't calculate your formula 1.
>
>
> Regarding point 3: if I'm putting a subreport with shared variables in, say, the Detail section of the main report, then I would create a second Detail section and put the subreport in the "Details a" and your formula 2 in "Details b".
>
> Alternatively if you put the subreport in a Header (Report/Group) you can then use the variables in Details or a Footer.
>
> HTH,
>
> Nigel.