This section is about execution order of events that occur within i-AUD Viewer, such as opening and executing reports.
Report Event API List
API | Trigger Point | Arguments List | Target |
---|---|---|---|
OnDataBindEnd | After a dataset is bound to a Control | Id : Control name RecordCount : Number of records in the dataset | Control |
OnDocumentLoadComplete | After a document is loaded, before AutoRefresh is executed | Report | |
OnExecuteStart | When Refresh is executed | IsAutoRefresh : AutoRefresh operates if it is true Target : Name(s) of the current Refresh target(s) TargetNames : Name(s) of the current Refresh target(s) Cancel : Cancel execution if it is true | Control |
OnLoadComplete | When a document is loaded and AutoRefresh is completed | Success : Whether the operation was successful Message : Error message | Report |
OnRefreshComplete | After Refresh is completed (after doRefresh is called) | Success : whether the operation was successful Message : Error message | Report |
Control Event Option List
API | Description | Remarks |
---|---|---|
AutoRefresh | Whether to automatically query data each time the report is opened | |
doRefresh | Whether to query data when the report's Execute button is clicked | |
AfterRefresh | Select other Controls to automatically query data after a list(ComboBox) item is selected | Can only be configured for ComboBox Controls |
Event Execution Order
When Opening a Report | When Running a Report (doRefresh) |
---|---|