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 sizbut on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Crystal 8.5/ASP help

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
I'm an ASP/Visual Basic programmer quite new to the web reporting capabilities of Crystal Reports so please forgive me if this article is a little more verbose than you are used to.

I have just finished the construction of a corporate intranet at a small chain of markets here and would very much like to incorporate Crystal Reports into it - mostly for the EMF-type, printable reports distributable via a browser. Without going into the details on why, I am attempting to set up report viewing/printing via the browser WITHOUT actually having the web component server, etc etc active and configured.

Put simply, I am wondering if it is possible to distribute crystal report files (.rpt) to a browser with the CRViewer object embedded in it without the web server components? I have all of the required .dlls installed and configured but the different server components that were installed with Crystal Enterprise are basically of default configuration.

This is what I am trying to accomplish:
First, the report viewer is already distributed to the clients and is, in fact embedded into my web pages via the object tag, classid, etc.
Second, I want to open a simple report, that resides on the IIS5 web server, in the aforementioned CRViewer.
Third, I would like to change the ADO record source, at runtime, to modify the selection criteria that the report is based on. I am assuming the I need the RDC runtime library for this.

Is what I'm attempting even feasible? If it is, I am having a very difficult time with this as I am not sure which objects I can call, and use, with ASP. For example, I have used...

Set app=Server.CreateObject("CrystalRuntime.Application")
successfully but

Set rep=Server.CreateObject("CrystalRuntime.Report")
...
...
CRViewer(already instantiated).ReportSource(some_path)

always gives me an error.

Thanks much for any answers you may have =)
 
For clarification (I am "lhawaii" because the original request was posted as a guest) ... the sample code that i have listed is written in ASP. I know exactly how to create/use and distribute reports from the VB6 environments but i am trying to "port" the application over to a centralized maitennance/distribution point. =) thanks!
 
Hi,

I am having same situation. Hope someone answers us.

Have Fun,
Malay M. Thakershi
mthakershi@yahoo.co.in
 
I don't see how you expect to run live reports on a web server without using the Crystal Web Services software, if you expect users to be able to pick/generate the ADO recordset at runtime.

One thing you could do is have a VB application generate the reports, export them to PDF, and place the PDF files in a directory on the web server that users can access.

The users would have to know what was in the PDF files and how they were generated (e.g., a monthly sales report or monthly inventory report).
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top