Further to this, if you add a list to your report, then use the list for the grouping instead of the table, then you should be able to make this work. The table would then be wthin the list, along with a row of textboxes to show the group totals.
If this doesn't make any sense let me know and I'll try again!
Main Topics
Browse All Topics





by: PFrogPosted on 2007-11-28 at 09:04:18ID: 20366908
You can use custom code to join all the values together in a string, however you will not be able to access the result in the table footer, it would have to be after the table. This is because SSRS renders the footer before the table contents.
) quantity.v alue))
If you want to do this, add this to your custom code
Dim AllValues as String
Public Function SetValue(Val as string) as string
AllValues = AllValues + ", " + Val
Return Val
End Function
Public Function GetAllValues() as string
Return mid(AllValues,3)
End Function
In your table, replace the cell
=sum(fields!quantity.value
with
=Code.SetValue(sum(fields!
Then, after the table, add a textbox with the value
=Code.GetAllValues()