This file, which is included in available.csp, allows the user to view the last five reports. It includes the following functions: addToMenu and ShowReportLastFive.
This function is called from within showreportscripts.js when a a report or a report instance is viewed. It takes four argumentsrptname, rptnumber, rpttype, and historyand uses them to add reports to the "View last five reports" list.
This function launches the Report Viewer when the user selects a report from the "View last five reports" list. It calls the ShowReport function in showreportscripts.js, passing in the following arguments: reportName, reportNumber, and reportType.
| Crystal Decisions, Inc. http://www.crystaldecisions.com Support services: http://support.crystaldecisions.com |