I am evaluating your product for my company and so far I like what I'm seeing. However, I am trying to add a SubReport to a DataBand, with GetSubReport and UseExternalReport, as explained in this thread ( http://forum.stimulsoft.com/Default.aspx?g=posts&t=746 )
The GetSubReport event works as expected. It is fired as many times as I have rows in my DataBand. The problem is this : when I receive the event, and I check the value for the data in the dictionary, it always gives me the value from the first row of my DataSource.
I use this code inside my GetSubReport :
Code: Select all
StiReport parentReport = sender as StiReport;
StiDataSource data = parentReport.Dictionary.DataSources["MyDataSource"];
object value = data["MyColumn"];
My version is : Stimulsoft Reports.Net 2007.2 for .Net 2.0 Trial -- WITH this update : Stimulsoft Reports.Net 2007.10.10 D2005
Any help would be appreciated,
Thank you!