Getting Close:
Here's the code:
function RunRpt(pstr){
var qstr = pstr
locstr = "LaunchReport.asp?ReportID=" + qstr
windowprops = "fullscreen=no,location=no,scrollbars=no,menubars=no,toolbars=no,resizable=yes";
reportWindow=window.open(locstr,"rptWindow",windowprops);
}
I call this in the client side onLoad event:
RunRpt("<%=crReportID%>"
I get a crystal error:
Error encountered by Crystal PageServer
------------------------------------
The error message returned is:
File E:\woundstar_new\Reports\viewrpt.cwr not found. [On Page Server: JKAWEB02.pageserver]
I know it's there, because this report works fine the "old" way when I dont try and opena new window. Is it something in the way variable "crReportID" is passed ?
crReportID is a variable that I get from the passing URL.
tks,