Joined: 15 Aug 2014
Online Status: Offline
Posts: 20
Topic: pass values from one subreport to the other Posted: 15 Aug 2014 at 11:07am
Hi,
I am very new to Crystal Report. I have tried so many times myself to use the shared variables. But I always got a null value when I run. I really hope somebody here could give me some advise on this.
I need to use a running total value from sub-report A and use it on the sub-report B. Can somebody give me a detailed step to accomplish this?
Joined: 21 Dec 2007
Online Status: Offline
Posts: 4372
Posted: 25 Aug 2014 at 5:09am
1. subreport a needs to run before b.
2. in subreport a create a formula like:
shared numbervar x := {running total}
""//will hide the assignment in the subreport
3. in subreport b create a formula like:
sharede numbervar x
you should see the value from subreport a displayed in subreport b
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