How to identify First report fetch programmatically

Stimulsoft Reports.NET discussion
Post Reply
ssdev23
Posts: 10
Joined: Fri Jun 13, 2008 2:18 am

How to identify First report fetch programmatically

Post 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.
Edward
Posts: 2913
Joined: Fri Jun 09, 2006 4:02 am

How to identify First report fetch programmatically

Post 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.
Post Reply