Crystal ActiveX Smart Viewer Question 
Author Message
 Crystal ActiveX Smart Viewer Question

How do I pass a parameter to a query from the web page?
Do I use the PARAM NAME tag, or do I pass it to the CRViewer
object?

Thanks,
Jeff W-R

<HTML>
<HEAD>
<TITLE>Seagate Crystal Smart Viewer for ActiveX</TITLE>
</HEAD>
<BODY BGCOLOR=C6C6C6 LANGUAGE=VBScript ONLOAD="Page_Initialize">

<OBJECT ID="CRViewer"
 CLASSID="CLSID:C4847596-972C-11D0-9567-00A0C9273C2A"
 WIDTH=100% HEIGHT=95%

<PARAM NAME="EnableRefreshButton" VALUE=0>
<PARAM NAME="EnableGroupTree" VALUE=0>
<PARAM NAME="DisplayGroupTree" VALUE=0>
<PARAM NAME="EnablePrintButton" VALUE=1>
<PARAM NAME="EnableExportButton" VALUE=1>
<PARAM NAME="EnableDrillDown" VALUE=0>

<PARAM NAME="EnableSearchControl" VALUE=0>
<PARAM NAME="EnableAnimationControl" VALUE=0>
<PARAM NAME="EnableZoomControl" VALUE=1>
<PARAM NAME="req_id" VALUE=1200>
</OBJECT>

<SCRIPT LANGUAGE="VBScript">
<!--
Sub Page_Initialize
 On Error Resume Next
 Dim webBroker
 Set webBroker = CreateObject("WebReportBroker.WebReportBroker")
 Dim webSource
 Set webSource = CreateObject("WebReportSource.WebReportSource")
 webSource.ReportSource = webBroker
 webSource.URL = Location.Protocol + "file://ldcweb/reports/my.rpt"
 CRViewer.ReportSource = webSource
 CRViewer.ViewReport
End Sub
-->
</SCRIPT>

</BODY>
</HTML>



Sat, 12 Jan 2002 03:00:00 GMT  
 Crystal ActiveX Smart Viewer Question

Also, one more question. Does anybody
know if Seagate Software has newsgroups?
Thanks,
Jeff


  How do I pass a parameter to a query from the web page?
  Do I use the PARAM NAME tag, or do I pass it to the CRViewer
  object?

  Thanks,
  Jeff W-R

  <HTML>
  <HEAD>
  <TITLE>Seagate Crystal Smart Viewer for ActiveX</TITLE>
  </HEAD>
  <BODY BGCOLOR=C6C6C6 LANGUAGE=VBScript ONLOAD="Page_Initialize">

  <OBJECT ID="CRViewer"
   CLASSID="CLSID:C4847596-972C-11D0-9567-00A0C9273C2A"
   WIDTH=100% HEIGHT=95%

  <PARAM NAME="EnableRefreshButton" VALUE=0>
  <PARAM NAME="EnableGroupTree" VALUE=0>
  <PARAM NAME="DisplayGroupTree" VALUE=0>
  <PARAM NAME="EnablePrintButton" VALUE=1>
  <PARAM NAME="EnableExportButton" VALUE=1>
  <PARAM NAME="EnableDrillDown" VALUE=0>

  <PARAM NAME="EnableSearchControl" VALUE=0>
  <PARAM NAME="EnableAnimationControl" VALUE=0>
  <PARAM NAME="EnableZoomControl" VALUE=1>
  <PARAM NAME="req_id" VALUE=1200>
  </OBJECT>

  <SCRIPT LANGUAGE="VBScript">
  <!--
  Sub Page_Initialize
   On Error Resume Next
   Dim webBroker
   Set webBroker = CreateObject("WebReportBroker.WebReportBroker")
   Dim webSource
   Set webSource = CreateObject("WebReportSource.WebReportSource")
   webSource.ReportSource = webBroker
   webSource.URL = Location.Protocol + "file://ldcweb/reports/my.rpt"
   CRViewer.ReportSource = webSource
   CRViewer.ViewReport
  End Sub
  -->
  </SCRIPT>

  </BODY>
  </HTML>



Sat, 12 Jan 2002 03:00:00 GMT  
 Crystal ActiveX Smart Viewer Question

In answer to your second question, try the following

http://www.seagatesoftware.com/prod-bi-techsupp/homepage/newsgroups.asp

Joe


    Also, one more question. Does anybody
    know if Seagate Software has newsgroups?
    Thanks,
    Jeff


        How do I pass a parameter to a query from the web page?
        Do I use the PARAM NAME tag, or do I pass it to the CRViewer
        object?

        Thanks,
        Jeff W-R

        <HTML>
        <HEAD>
        <TITLE>Seagate Crystal Smart Viewer for ActiveX</TITLE>
        </HEAD>
        <BODY BGCOLOR=C6C6C6 LANGUAGE=VBScript ONLOAD="Page_Initialize">

        <OBJECT ID="CRViewer"
         CLASSID="CLSID:C4847596-972C-11D0-9567-00A0C9273C2A"
         WIDTH=100% HEIGHT=95%

        <PARAM NAME="EnableRefreshButton" VALUE=0>
        <PARAM NAME="EnableGroupTree" VALUE=0>
        <PARAM NAME="DisplayGroupTree" VALUE=0>
        <PARAM NAME="EnablePrintButton" VALUE=1>
        <PARAM NAME="EnableExportButton" VALUE=1>
        <PARAM NAME="EnableDrillDown" VALUE=0>

        <PARAM NAME="EnableSearchControl" VALUE=0>
        <PARAM NAME="EnableAnimationControl" VALUE=0>
        <PARAM NAME="EnableZoomControl" VALUE=1>
        <PARAM NAME="req_id" VALUE=1200>
        </OBJECT>

        <SCRIPT LANGUAGE="VBScript">
        <!--
        Sub Page_Initialize
         On Error Resume Next
         Dim webBroker
         Set webBroker = CreateObject("WebReportBroker.WebReportBroker")
         Dim webSource
         Set webSource = CreateObject("WebReportSource.WebReportSource")
         webSource.ReportSource = webBroker
         webSource.URL = Location.Protocol + "file://ldcweb/reports/my.rpt"
         CRViewer.ReportSource = webSource
         CRViewer.ViewReport
        End Sub
        -->
        </SCRIPT>

        </BODY>
        </HTML>



Sat, 12 Jan 2002 03:00:00 GMT  
 Crystal ActiveX Smart Viewer Question

Jeff,

The PARAM NAME tag is for viewer parameters (e.g. show toolbar) rather report parameters.
To set the report parameters, you either need to include INPUT tags as part of an HTML form that you post to run the report or include them as part of the query string on the URL.

If you'd like to download a copy of ReCrystallize (see below) it will generate web pages that will show you how this works.

--
Michael Dowdie
Developer
ReCrystallize Web Publishing Wizard for Seagate Crystal Reports
http://recrystallize.com

"Need to put your reports on the web by the end of the day?  Relax. ReCrystallize."


  How do I pass a parameter to a query from the web page?
  Do I use the PARAM NAME tag, or do I pass it to the CRViewer
  object?

  Thanks,
  Jeff W-R

  <HTML>
  <HEAD>
  <TITLE>Seagate Crystal Smart Viewer for ActiveX</TITLE>
  </HEAD>
  <BODY BGCOLOR=C6C6C6 LANGUAGE=VBScript ONLOAD="Page_Initialize">

  <OBJECT ID="CRViewer"
   CLASSID="CLSID:C4847596-972C-11D0-9567-00A0C9273C2A"
   WIDTH=100% HEIGHT=95%

  <PARAM NAME="EnableRefreshButton" VALUE=0>
  <PARAM NAME="EnableGroupTree" VALUE=0>
  <PARAM NAME="DisplayGroupTree" VALUE=0>
  <PARAM NAME="EnablePrintButton" VALUE=1>
  <PARAM NAME="EnableExportButton" VALUE=1>
  <PARAM NAME="EnableDrillDown" VALUE=0>

  <PARAM NAME="EnableSearchControl" VALUE=0>
  <PARAM NAME="EnableAnimationControl" VALUE=0>
  <PARAM NAME="EnableZoomControl" VALUE=1>
  <PARAM NAME="req_id" VALUE=1200>
  </OBJECT>

  <SCRIPT LANGUAGE="VBScript">
  <!--
  Sub Page_Initialize
   On Error Resume Next
   Dim webBroker
   Set webBroker = CreateObject("WebReportBroker.WebReportBroker")
   Dim webSource
   Set webSource = CreateObject("WebReportSource.WebReportSource")
   webSource.ReportSource = webBroker
   webSource.URL = Location.Protocol + "file://ldcweb/reports/my.rpt"
   CRViewer.ReportSource = webSource
   CRViewer.ViewReport
  End Sub
  -->
  </SCRIPT>

  </BODY>
  </HTML>



Thu, 17 Jan 2002 03:00:00 GMT  
 
 [ 4 post ] 

 Relevant Pages 

1. Crystal Report ActiveX smart viewer for IE

2. Crystal Smart Viewer Question

3. Crystal Reports Smart Viewer

4. Crystal Report Smart Viewer

5. crystal reports v6.0 - browser smart viewer error

6. Smart Viewer - Crystal Version 7 and VB6

7. Printing ladscape report with Crystal 8 Smart Viewer on Windows 2000

8. Chaning the page size of Smart Viewer for ActiveX

9. Abourt Crystal Report 7's smart viewer

10. touble with Smart Viewer ActiveX

11. crystal smart viewer msgbox + gibberish...

12. Crystal Smart Viewer

 

 
Powered by phpBB® Forum Software