Anybody know how to use the Crystal Reports ActiveX Crviewer together with ColdFusion? I can display the reports fine using <cfreport>, but would like to display the report in the ActiveX Viewer.
example:
one way to call your report is like this:
<script language = "JavaScript"
var MyWin;
function OpenReport()
{
MyWin=window.open("MyReport.rpt?init=act_x","",height = 600, width = 800"
}
</script>
This will open the report in a new window. You may have to pass it some parameters after the act_x such as:
...act_x&user0=<cfoutput>#user#</cfoutput>&password0=<cfoutput>#password#</cfoutput>...
There is a wonderful product called "Recrystalize" which intergrates the Crystal viewer and programs such as CF. Using a wizard interface, you can create pages which call the viewer with any number of user specified parameters.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.