Page 1 of 1

Accessing DataGroup rows

Posted: Fri Aug 21, 2009 8:22 am
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?

Accessing DataGroup rows

Posted: Fri Aug 21, 2009 7:05 pm
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.