Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
175
Summaries.Add -
posted

Private Sub Add_Summaries()

Dim band As UltraGridBand = Me.UltraGrid1.DisplayLayout.Bands(BAND_MPS)

band.Summaries.Clear()

band.Summaries.Add(SummaryType.Maximum, band.Columns(
"SubScr"), SummaryPosition.UseSummaryPositionColumn)

band.Summaries.Add(SummaryType.Sum, band.Columns("Labor_Unit"), SummaryPosition.UseSummaryPositionColumn)

End Sub

 

When the code hits the 2nd Add method ("Labor_Unit"), an error is raised:

Error #9 was generated by Infragistics2.Win.UltraWinCalcManager .v.7.2

Index was outside the bounds of the array.

What am I doing wrong?

This is on a windows form.

Thanks,

Jeff Keryk (a new user)

Parents Reply Children
No Data