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

Calling Crystal Reports XI report from ASP

Status
Not open for further replies.

oaklea

Programmer
Nov 15, 2001
3
US
I am updating an asp web application that currently calls Crystal Reports 7 reports. I need to modify the pages to invoke Crystal Reports XI reports. Is there a way to do this without completely rewriting the asp pages? I have researched the Business Objects site but haven't found pertinent info.

The asp page uses the vbscript command:

Code:
<object ID="CRViewer" WIDTH="0" HEIGHT="0" CLASSID="CLSID:C4847596-972C-11D0-9567-00A0C9273C2A"   codebase="http:tlhappbeta/afas/activex/CRViewer.dll#Version=1,2,1,15" VIEWASTEXT>
</object>

and then the following to allow the user to preview the report:

Code:
<script LANGUAGE="JavaScript">
popupWin = window.open('REPORTS/test.rpt?init=actx&rf=1&prompt0=<%=request("param1")%>&cmd=rfsh&vfmt=html_page&viewer=html_page&page=1', 
				"remote", "resizable, width=750, height=400");
</script>

Any assistance is appreciated!
 
We ran into this issue last summer and found that there are two ways to do this.

1. Use the RDC component and regular asp. However, the RDC is deprecated and may not be available in future releases.

2. Create a small asp.net app that uses the .NET report viewer. Call this from your asp code to view the report.

We ended up taking option 2 and it's working well for us.

-Dell

A computer only does what you actually told it to do - not what you thought you told it to do.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top