Accessing DataGroup rows

Stimulsoft Reports.NET discussion
Post Reply
shmuly
Posts: 58
Joined: Wed Jul 05, 2006 2:19 pm

Accessing DataGroup rows

Post by shmuly »

In one of the events, how can I access data in the DataGroup bands? For example if I want to access data in the data bands I would do something like
For Each row As Stimulsoft.Report.Dictionary.StiRow In FlatTable.Rows
How can I do this for DataGroups?

Also, is it possible to do a sum in the events for a specific column in the DataGroup? Example, I group my report by DateofPayment and I would like to sum the AmountReceived, can I do this in one of the events? If so how?
Edward
Posts: 2913
Joined: Fri Jun 09, 2006 4:02 am

Accessing DataGroup rows

Post by Edward »

Hi

You can use Variables in Dictionary for it. And in BeforePrintEvent of the DataBand, GroupHeader band make all necessary calculations.

Thank you.
Post Reply