In reports, triggers are typically used to perform calculations and verification. Triggers let you control how data is selected and retrieved in a more complex and effective way than you can achieve by using properties.
Report Triggers
The following table lists triggers that apply to the report itself.
Trigger | Executed |
---|---|
When the report is loaded. | |
Before the report is run, but after the RequestPage has been run. | |
After the report has run, but not if the report was stopped manually or by the QUIT Function (Report, XMLport). |
Data Item Triggers
The following table lists triggers that apply to each data item on the report.
Trigger | Executed |
---|---|
Before the data item is processed, but after the associated variable has been initialized. | |
When a record has been retrieved from the table. | |
When the data item has been iterated for the last time. |