Page 1 of 1

How to identify First report fetch programmatically

Posted: Sun Jul 27, 2008 10:29 pm
by ssdev23
Hi All,

I am thinking if there's a method/way in Stimulsoft so that the report can identify if it's the first-time data-fetch when report begins to run;
The idea behind is to save/allocate values on a multi-dimensional array to be processed for future use;
So, if it's the first set of data fetched then i can use assignment as: a[rowval][colval];
and then just use a[rowval++][colval++];
on the succeeding data fetch from a database.....
Suggestion pls? Thx in advance.

How to identify First report fetch programmatically

Posted: Mon Jul 28, 2008 12:44 am
by Edward
Hello.

You can define a static property inside of that collection. In the BeginRenderEvent of the Report you can assign this property and check later if it is set or not and according to this make all necessary calculations.

Thank you.