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