i have 2 bands. from the activerow in the second band, how do i access the parent row in the parent band.
That is:
band1
row 1
band b
row a
If the user is editing row a, what is the best way to gain access to row 1?
row.ParentRow
Is that reliable? The intell states that it can be either a row instance or a groupbyrow.
If the band is grouped, then yes, the parent row will be a GroupByRow. If you want the parent data row, then you can simply keep walking up row.Parent until you get to a row whose IsGroupByRow property is false. ParentRow may also be null, in the case of a root-level row, so your code should probably account for that, as well - unless you are already checking that the row you started with is in a child band.