I have a main report with a linked subreport but I can only see zero values on the main report. I suspect it is a problem with my links as the subreport returns zero records after I linked it.
The subreport (fees1) groups outlays (fees paid) by matter code. eg:
There is a formula (outlays) to share the group1 outlays figure with the main report:
The main report has a formula to show the outlays variable:
This formula is placed in the detail section with the subreport supressed in RHi.
I am trying to link on mattercode but it seems to default to a parameter which I don't want as using the paramenter changes the subreport to return zero records.
I am using MSAccess and CR11.
The subreport (fees1) groups outlays (fees paid) by matter code. eg:
Code:
RHb MT-CODE NET-VALUE
GH1 BBBB0003/000006 -30
GH1 BBBB0003/000007 -30
GH1 BBBB0003/000016 -30
GH1 BBBB0003/000019 -30
There is a formula (outlays) to share the group1 outlays figure with the main report:
Code:
WhilePrintingRecords;
Shared numberVar outlays:= Sum ({NOMTRANS.NET-VALUE}, {NOMTRANS.MT-CODE});
The main report has a formula to show the outlays variable:
Code:
WhilePrintingRecords;
Shared numberVar outlays;
numbervar showoutlays := outlays;
This formula is placed in the detail section with the subreport supressed in RHi.
I am trying to link on mattercode but it seems to default to a parameter which I don't want as using the paramenter changes the subreport to return zero records.
I am using MSAccess and CR11.