Intellicus Desktop Studio processes the report by initializing the data sources and then triggering events for report followed by report header, page header, group header, details, group footer, report footer, and page footer sections.
Intellicus Desktop Studio continues the process while caching the pages in its internal page cache. The stream mode of output helps in viewing the first few pages of a long running report immediately.
Note: To achieve this, the report must not contain any forward reference such as a Grand Summary field in the report header.
Note: You need to make sure that the code pertaining to a particular event is written within the appropriate event only.
Following are the events and their description:
|OnReportStart||This event is fired before the report objects such as fields and sections are constructed (prior to report execution).|
|OnReportEnd||This event fires after execution of the report.|
|OnPageStart||This event is fired before displaying every page. This event does not ensure that the previous page’s display has been completed.|
|OnPageEnd||This event is fired after the display of every rendering.|
|OnDataInitialize||This event is fired after the report is loaded, or SQL statement is fired or SQL fields are created. In this event, new report fields can be added and existing fields can be removed.|
|OnFetchData (eof)||This event is fired after each row of the report SQL statement is fetched from the database. In this event, the report field’s data can be accessed for calculation and manipulation.|
|OnNoData||This event is fired when zero rows are fetched from the report SQL statement.|