Document object, EventScript object, Slier object
An Interactive Reporting document file level function available for running applications through scripting. The OnShutdown method executes a script stored under the OnShutdown event trigger. This method takes no arguments. Any OnShutDown events are executed before you are prompted to save or discard changes made to a document in the Save dialog box.
Expression. OnShutdown()
An expression that returns an Interactive Reporting document object
This example shows how to use the OnShutdown() method to exit an Interactive Reporting document file and save the document