Joined: 30 Oct 2012
Online Status: Offline
Posts: 15
Topic: Shared Variable - Subreports Posted: 06 Nov 2012 at 5:26am
Hi guys,
I imported values from a subreport to the main report via a shared variable. The issue that arises is that the imported values seem to skip a data record and hence the value displayed for record 2 is the value intended for record 1, for record 3, the value intended for record 2 and so on.. Record 1 has the value 0. The parameters from both the main report and sub-report do not match but i"m guessing this is not a problem. The sub-report preview displays the correct details.
Joined: 19 Dec 2008
Online Status: Offline
Posts: 9053
Posted: 06 Nov 2012 at 8:26am
when passing a variable back the variable has to be placed ina section below where the report is run from. Eg. if you put a sub report in details you have to return the shared variable back into the main report onto detailsB (or a footer).
you can use underlay section to make it look like it is on the same 'row'
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