Hi,
I'm sorry, but I'm still having some trouble understand what you are asking.
If you have a SummaryValue, then you could get it's Rows collection by using the ParentRows property. Then you could use the ParentRow property to get the row. But I'm not sure how would get the Summary without already having the parent, so the question doesn't seem to make sense.
Regarding your second question, it sounds to me like you would need to use an ICustomSummaryCalculator to calculate the summary value yourself without regard to the actual rows of data.
1. under band ParentBand, there's a band ChildBand. in summaries of ChildBand, I want know which row of ParentBand this summary is in, as shown below:
ParentBand |--ParentBandRow(0) |--ChildBand |--ChildBandSummary(shows 0 because under ParentBandRow 0) |--ChildBandRow(1) |--ChildBandRow(2) |--ParentBandRow(1) |--ParentBandRow(2) |--ChildBand |--ChildBandSummary(shows 2 because under ParentBandRow 2) |--ChildBandRow(1) |--ChildBandRow(2)
how to write this summary?
2. in form1, there's a user defined array myArray[10,10], how can i use values in myArray in summary?. as shown below:
|--ChildBand |--ChildBandSummary——shows the value of myArray[1,3]
Thanks, Mike! Hope you help me out.
I'm having trouble understanding what you mean. Can you explain in more detail exactly what you want to do?