ASP call Crystal and Store Procedure (3)

Source: Internet
Author: User
' Framepage.asp

<%
' 05/02/98
' Added The following features:
' Page expiry time
'-the page would expire when downloaded by browser so this user is insured to all data
' would be current.
Response.Expires = 0
%>

<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= 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>


' 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 would expire when downloaded by browser so this user is insured to all data
' would be current.
Response.Expires = 0
On Error Resume Next
QS = Request.QueryString
If QS <> "" Then
QS = "&" & QS
Else
' Need to make ' is for backward compatibility. The Users may is 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 ' 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


%>


<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>


' Javapluginviewer.asp



<title>seagate Java Viewer using Java plug-in</title>

<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" >


Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.