ASP Call Crystal Report with Store Procedure(3)

來源:互聯網
上載者:User
'framepage.asp

<%
' 05/02/98
' Added the following features:
' Page Expiry Time
' - The page will expire when downloaded by browser so that user is insured that all data
' will be current.
Response.Expires = 0
%>
<html>
<title></title>
<%
qs = request.querystring
if qs <> "" then
qs = "&" & qs
end if
%>
<frameset rows ="59,*">
<frame marginheight=0 marginwidth=0 noresize scrolling=no name="CrystalViewerToolbar" src="toolbar.asp?<% response.write request.querystring %>">
<frame name="CrystalViewerPreview" src="rptserver.asp?cmd=get_pg&viewer=html_frame&vfmt=html_frame&page=<%response.write session("CurrentPageNumber") %><% response.write qs %>">
</frameset>
</html>

'htmstart.asp


<%
' 05/02/98
' Added the following features:
' Tab Query String Parameter
' - This is the selected tab's tabArray index value.
' Page Expiry Time
' - The page will expire when downloaded by browser so that user is insured that all data
' will be current.
Response.Expires = 0
On Error Resume Next
qs = request.querystring
if qs <> "" then
qs = "&" & qs
else
' Need to make this call for backward compatibility. Users may be referencing htmstart.asp in their web pages.
Call InitializeFrameArray
end if

dim tmpArray
dim index
dim brch
dim val
if request.querystring("TAB") <> "" then
tmpArray = session("tabArray")
index = Cint(request.querystring("TAB"))

if tmpArray(index + 1) <> "" then
brch = tmpArray(index + 1)
qs = "&" & "BRCH=" & brch
end if

session("CurrentPageNumber") = tmpArray(index + 2)
session("lastknownpage") = tmpArray(index + 3)
session("LastPageNumber") = tmpArray(index + 4)
' clear out all of the other arrays
if index = 0 then
Call InitializeFrameArray
else
redim preserve tmpArray(index - 1)
session("tabArray") = tmpArray
end if


else
session("CurrentPageNumber") = "1"
session("lastknownpage") = "0"
session("LastPageNumber") = ""
end if

' This function initializes the tabArray.
SUB InitializeFrameArray()
'initialize the html_frame array
set session("tabArray") = Nothing
session("lastBrch") = ""
dim tmpArray
tmpArray = Array(4)
redim tmpArray(4)
'Initialize the sequence number
tmpArray(0) = "EMPTY"
session("tabArray") = tmpArray
END SUB


%>

<html>
<title></title>
<frameset cols="15%,*">
<frame name="CrystalViewerTree" src="rptserver.asp?cmd=get_ttl&viewer=html%5Fframe&vfmt=html_frame<% response.write qs %>">
<frame name="CrystalViewerPageFrame" src="rptserver.asp?cmd=toolbar_page&viewer=html%5Fframe&vfmt=html_frame&page=<% response.write session("CurrentPageNumber") %><% response.write qs %>">
</frameset>
</html>

'JavaPluginViewer.asp

<html>
<head>
<title>Seagate Java Viewer using Java Plug-in</title>
</head>
<body bgcolor=C6C6C6>

<P align="center">
<object
classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93"
width=100%
height=100%
codebase="/viewer/JavaPlugin/Win32/jre1_2_2-win.exe#Version=1,2,2,0">
<param name=type value="application/x-java-applet;version=1.2.2">
<param name=code value="com.seagatesoftware.img.ReportViewer.ReportViewer">
<param name=codebase value="/viewer/javaviewer/">
<param name=archive value="ReportViewer.jar">
<param name=Language value="en">
<param name=ReportName value="rptserver.asp">


相關文章

Beyond APAC's No.1 Cloud

19.6% IaaS Market Share in Asia Pacific - Gartner IT Service report, 2018

Learn more >

Apsara Conference 2019

The Rise of Data Intelligence, September 25th - 27th, Hangzhou, China

Learn more >

Alibaba Cloud Free Trial

Learn and experience the power of Alibaba Cloud with a free trial worth $300-1200 USD

Learn more >

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。