I am attempting to access and display a report (CR 8.5) I created with an Active Sever Page (ActiveX viwer). The report has a date range parameter. When I run the ASP, I get a 'Physical Database Not Found' error. When I run the report from the RDE, it runs just fine. I have searched the knowledge base and have made suggested modifications to no avail.
The core code I am having trouble with is:
Set session("oRpt" = session("oApp".OpenReport(ReportName,1)
Session("oRpt".MorePrintEngineErrorMessages = 0
session("oRpt".EnableParameterPrompting = False
session("oRpt".ParameterFields.Item("1".DiscreteOrRangeKind = 1
session("oRpt".ParameterFields.Item("1".AddCurrentRange CDate
("5/20/2001",CDate("6/05/2006",CDbl("3"
If anyone has any suggestions, I would appreciate it.
Patrick Holzer
The core code I am having trouble with is:
Set session("oRpt" = session("oApp".OpenReport(ReportName,1)
Session("oRpt".MorePrintEngineErrorMessages = 0
session("oRpt".EnableParameterPrompting = False
session("oRpt".ParameterFields.Item("1".DiscreteOrRangeKind = 1
session("oRpt".ParameterFields.Item("1".AddCurrentRange CDate
("5/20/2001",CDate("6/05/2006",CDbl("3"
If anyone has any suggestions, I would appreciate it.
Patrick Holzer