Click here to Skip to main content
15,887,135 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
[This is a rough illustration 1st part.][1]


I subscribe to the subreport from my main report. Now the subreport handler function decides the data in the subreport. The 3 column data in the subreport are of int type. Also the Data1 is the parameter for the subreport. So you understand that the number of Data1 values in column1 determines the number of subreports generated.

[Rough illustration final result][2]


[1]: http://i.stack.imgur.com/yvwfP.png
[2]: http://i.stack.imgur.com/JAUQJ.png

How do I calulate the sum as shown in the figure?

What I have tried:

I tried using sum function but that does not apply here as the generated subreports are one row joined as display a full table.
Posted
Updated 4-Feb-16 7:29am
v3

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900