Let me see if one of you can assist with this one...
i have a similar situation, but mine does not use the selected item (item Command). Here is what the form is to do:
1. this is for an educational environment, so we use SID- NOT SSN's, but i use the SID as a filter in the subset as the grouping unique id.
2. I'm trying to inject a sub total row at the last line item of each SID (if more than one item in the report for that SID).
3. I'm looping thru the items in the Datalist Item Command with a for each (item i in Datalist2.Items).