The following HTML code demonstrates one means of embedding the Report Viewer for ActiveX in a web page using the OBJECT tag:
CLASSID="CLSID:C4847596
CODEBASE="/viewer/activeXViewer/activexviewer.cab#Version=8,5,0,67">
<PARAM NAME="EnableDrillDown" VALUE=1>
<PARAM NAME="EnableExportButton" VALUE=1>
<PARAM NAME="DisplayGroupTree" VALUE=1>
<PARAM NAME="EnableGroupTree" VALUE=1>
<PARAM NAME="EnableAnimationControl" VALUE=1>
<PARAM NAME="EnablePrintButton" VALUE=1>
<PARAM NAME="EnableRefreshButton" VALUE=1>
<PARAM NAME="EnableSearchControl" VALUE=1>
<PARAM NAME="EnableZoomControl" VALUE=1>
<PARAM NAME="EnableSearchExpertButton" VALUE=0>
<PARAM NAME="EnableSelectExpertButton" VALUE=0>
Set webBroker = CreateObject("WebReportBroker.WebReportBroker")
window.alert "The Seagate Software ActiveX Viewer is unable to create it's resource objects."
CRViewer.ReportName = "http://casper:80/crystal/enterprise/admin/en/viewrpt.cwr
Set webSource0 = CreateObject("WebReportSource.WebReportSource")
webSource0.ReportSource = webBroker
webSource0.URL = "http://casper:80/crystal/enterprise/admin/en/viewrpt.cwr
webSource0.PromptOnRefresh = True
CRViewer.ReportSource = webSource0
This example displays a Group Tree to allow Smart Navigation. Additionally, the user can drill
Crystal Decisions, Inc. http://www.crystaldecisions.com Support services: http://support.crystaldecisions.com |