OnStartup (Method)

Applies To:

Document object, EventScript object

Description:

An Interactive Reporting document level function that executes when an Interactive Reporting document file is opened and that can initialize the Interactive Reporting document file and application for users. This method is available regardless of the state of the application. As long as the application is running, this method is available through scripting. The OnStartup method executes a script stored under the Nostratic event trigger. This method takes no arguments.

Syntax:

Expression. OnStartup()

Expression Required:

An expression that returns an Interactive Reporting Document object

Example:

This example displays the Nostratic method for an active Interactive Reporting document file:

ActiveDocument.OnStartup()