Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

View Crystal Report in web page using ASP

Status
Not open for further replies.

senadaulay

Programmer
Feb 4, 2004
29
ID
I hope this is the right place to post.

Hi..I need help Pleasseee.I never done this kind of coding

I want to view my report in the WEB using ASP,I'm using crystal report 8.5 version.
I know my question is very abord but Could someone tell me how to do it and I really appreciated. so I know where to start.

thank's
 
Hi Virdu

I've been trying to understand and follow the code from the seagate, but I'm little bit confuse ...
First of all Have been following the code from the folder "BeginHere".

I create 4 forms which are:
1.SimplePerviewreport.asp
2.AlwaysrequiredSteps.asp
3.MoreRequiredSteps.asp
4.SmartViewerActiveX.asp
for this form I'm confuse?do I need to create this form too?
5.rptserver.asp

my question are:
Do I need to create those all forms or just form SmartViewerActiveX.asp?

To view the report I'm using localhost..is it make any different?Do I need to specify the RAS
Server?

There is some coding in the form SmartViewerActiveX.asp :
Sub Window_Onload
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" --(I put my code in here like this:" else
Dim webSource
Set webSource = CreateObject
("WebReportSource.WebReportSource")
webSource.ReportSource = webBroker
webSource.URL = "rptserver.asp" --(same in here
too: " webSource.PromptOnRefresh = True
CRViewer.ReportSource = webSource
end if
CRViewer.ViewReport
End Sub

but the report didn't show?can you tell me where did I make mistake?

Did i make any sense?Sorry If I make you confuse.

Thank's for your help in advance
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top