ReportingAnalyst
MIS
Hi,
I am trying to open a report with multiple number of sub-reports from ASP. When I look into the report from the designer, I can see that quota.rpt is a sub-report within CommissionStatement2006.rpt
However in the directory where CommissionStatement2006.rpt is saved, quota.rpt does not exist.
I use this log on info for my sub-report.
'------Quota.rpt------------------------
'set subReport1 = session("oRpt").OpenSubReport("Quota.rpt")
'subReport1.ConnectionInfo = strConnect
'subReport1.SetLogonInfo "DSNName", "DBName", cstr(userid), cstr(password)
When I run this, I get the error message:
Error Type:
Crystal Reports ActiveX Designer (0x80047900)
Invalid subreport name.
/scripts/ViewReports.asp, line 103
Where Line 103 refers to :
set subReport1 = session("oRpt").OpenSubReport("Quota.rpt")
I even tried "Quota", but that also does not work. So what can I do about this?
Thanks.
I am trying to open a report with multiple number of sub-reports from ASP. When I look into the report from the designer, I can see that quota.rpt is a sub-report within CommissionStatement2006.rpt
However in the directory where CommissionStatement2006.rpt is saved, quota.rpt does not exist.
I use this log on info for my sub-report.
'------Quota.rpt------------------------
'set subReport1 = session("oRpt").OpenSubReport("Quota.rpt")
'subReport1.ConnectionInfo = strConnect
'subReport1.SetLogonInfo "DSNName", "DBName", cstr(userid), cstr(password)
When I run this, I get the error message:
Error Type:
Crystal Reports ActiveX Designer (0x80047900)
Invalid subreport name.
/scripts/ViewReports.asp, line 103
Where Line 103 refers to :
set subReport1 = session("oRpt").OpenSubReport("Quota.rpt")
I even tried "Quota", but that also does not work. So what can I do about this?
Thanks.