• <ruby id="5koa6"></ruby>
    <ruby id="5koa6"><option id="5koa6"><thead id="5koa6"></thead></option></ruby>

    <progress id="5koa6"></progress>

  • <strong id="5koa6"></strong>
  • ASP Call Crystal Report with Store Procedure(7)

    發表于:2007-06-30來源:作者:點擊數: 標簽:
    ‘’SmartViewerActiveX.asp HTML HEAD TITLESeagate ActiveX Viewer/TITLE /HEAD BODY BGCOLOR=C6C6C6 LANGUAGE= VB Script ONLOAD=Page_Initialize OBJECT ID=CRViewer CLASSID=CLSID:C4847596-972C-11D0-9567-00A0C9273C2A WIDTH=100% HEIGHT=95% CODEBASE
    ‘’SmartViewerActiveX.asp


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

    <OBJECT ID="CRViewer"
    CLASSID="CLSID:C4847596-972C-11D0-9567-00A0C9273C2A"
    WIDTH=100% HEIGHT=95%
    CODEBASE="/viewer/activeXViewer/activexviewer.cab#Version=8,0,0,224">
    <PARAM NAME="EnableRefreshButton" VALUE=0>
    <PARAM NAME="EnableGroupTree" VALUE=1>
    <PARAM NAME="DisplayGroupTree" VALUE=1>
    <PARAM NAME="EnablePrintButton" VALUE=1>
    <PARAM NAME="EnableExportButton" VALUE=1>
    <PARAM NAME="EnableDrillDown" VALUE=1>
    <PARAM NAME="EnableSearchControl" VALUE=1>
    <PARAM NAME="EnableAnimationControl" VALUE=1>
    <PARAM NAME="EnableZoomControl" VALUE=1>
    </OBJECT>

    <SCRIPT LANGUAGE="VBScript">
    <!--
    Sub Page_Initialize
    On Error Resume Next
    Dim webBroker
    Set webBroker = CreateObject("WebReportBroker.WebReportBroker")
    if ScriptEngineMajorVersion < 2 then
    window.alert "IE 3.02 users on NT4 need to get the latest version of VBScript or install IE 4.01 SP1. IE 3.02 users on Win95 need DCOM95 and latest version of VBScript, or install IE 4.01 SP1. These files are available at Microsoft‘’s web site."
    CRViewer.ReportName = "rptserver.asp"
    else
    Dim webSource
    Set webSource = CreateObject("WebReportSource.WebReportSource")
    webSource.ReportSource = webBroker
    webSource.URL = "rptserver.asp"
    webSource.PromptOnRefresh = True
    CRViewer.ReportSource = webSource
    end if
    CRViewer.ViewReport
    End Sub
    -->
    </SCRIPT>
    </BODY>
    </HTML>


    ‘’MoreRequiredSteps.asp

    <%

    ‘’====================================================================================
    ‘’ Retrieve the Records and Create the "Page on Demand" Engine Object
    ‘’====================================================================================

    On Error Resume Next
    session("oRpt").ReadRecords
    If Err.Number <> 0 Then
    Response.Write "The Error Message was: " & Err.Description & "from: " & Err.Source
    Else

    If IsObject(session("oPageEngine")) Then
    set session("oPageEngine") = nothing
    End If
    set session("oPageEngine") = session("oRpt").PageEngine
    End If
    %>


    ‘’SmartViewerHTMLFrame.asp

    <%
    ‘’=================================================================
    ‘’ This file contains the ASP code for the Smart Viewer HTML Page
    ‘’=================================================================

    response.redirect ("htmstart.asp")

    %>

    原文轉自:http://www.kjueaiud.com

    老湿亚洲永久精品ww47香蕉图片_日韩欧美中文字幕北美法律_国产AV永久无码天堂影院_久久婷婷综合色丁香五月

  • <ruby id="5koa6"></ruby>
    <ruby id="5koa6"><option id="5koa6"><thead id="5koa6"></thead></option></ruby>

    <progress id="5koa6"></progress>

  • <strong id="5koa6"></strong>