Summation of a field in
report with groups:
write code in Report Properties:
Shared
Total as Decimal
Public
Function SetTotal(ByVal Value as Decimal)
Total+=Value
End
Function
Public
Function GetTotal
Return
Total
End
Function
And
then call GetTotal Function in respective table box(in report) where you want
to get the Total
Code.GetTotal
And
then in report , data for which you need total to be calculated. In that text box, call
SetTotal function
=Fields!BudValue.Value+Code.SetTotal(Fields!BudValue.Value)
No comments:
Post a Comment