on 10-28-2016 2:59 PM
I have created a shared variable from a subreport. I have placed the shared variable formula in the footer of the sub report. I then created a formula referencing the shared variable in the main report. I have created a section above the details and put the subreport there. I have put main variable formula into the details section below the subreport. Details A contains the subreport. Details B contains the main fields and formulas. However, the variable field displays results that are off by one row. (Row 1 is blank. Row 2 contains the result for Row 1, Row 3 contains the results for Row 2 and so on). The subreport is actually reflecting the correct values. There's definitely something wrong with the variable but I can't figure it out.
Sub Report Variable Formula
whileprintingrecords; Shared DatetimeVar Var_RdyForTest:= Date(0,0,0); Var_RdyForTest:={AUDIT_LOG.AU_TIME}; Var_RdyForTest;
Main Report Variable Formula
whileprintingrecords; Shared DatetimeVar Var_RdyForTest; Var_RdyForTest;
Hi Scot,
Would you be able to attach a copy of the report 'with saved data'?
-Abhilash
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.