Report Design
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Report Design
Message Icon Topic: Shared Value from Subreport Help Post Reply Post New Topic
Author Message
remymaq
Newbie
Newbie
Avatar

Joined: 12 Dec 2014
Location: United States
Online Status: Offline
Posts: 2
Quote remymaq Replybullet Topic: Shared Value from Subreport Help
     Posted: 22 Dec 2014 at 8:24am
I have a report I am building with a few subreports on it. There is one field I need to show on the Main report. When I share the field from the subreport to the main report it only brings in the first value of that field. How can i bring in all the values from the field on the subreport to the main report. The field should look like this

20
30
50

instead it is only sharing

20 and not the other two values.

IP IP Logged
DBlank
Moderator
Moderator


Joined: 19 Dec 2008
Online Status: Offline
Posts: 9053
Quote DBlank Replybullet Posted: 23 Dec 2014 at 3:59am

you mean you are passing the value back via a shared variable?

where are you placing the shared variable?
It sounds like you want to match a value on each detail row.
YOU have to run the subreport per detail row an dpass it back on each report run.
If it is in a footer then your variable has to build a string in the subreport and pass the entire string back.
IP IP Logged
Printable version Printable version

Forum Jump
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