actionscripts.js

This file, which is included in available.csp, handles user selected report viewing and scheduling options. It is activated when the user selects an item such as View, Schedule, or History from the drop-down list located in the preview area.

When the user performs one of the above actions, the handleAction function is called. This function launches a window in which users can view the History page, the Schedule page, a previewed report, or report instance. It opens the appropriate window by calling one of the following functions.

History function

This function launches the window in which the History page is displayed. It loads history.csp, passing in the following parameters:
Parameter [OUT] Values To Description

id

<long>

history.csp

The report ID.

page

1

history.csp

The current page number.

Schedule function

This function launches the window in which the Schedule page is displayed. It loads schedule.csp, passing in the following parameters:
Parameter [OUT] Values To Description

id

<long>

schedule.csp

The report ID.

ShowReportPreview function

This function launches the window in which a report is viewed. It calls the ShowReportPreview function in previewscripts.js.

ShowReportInstance function

This function launches the window in which a report instance is viewed. It calls the ShowReportInstance function in previewscripts.js.



Crystal Decisions, Inc.
http://www.crystaldecisions.com
Support services:
http://support.crystaldecisions.com