I am using Crystal Reports 10. When I execute the following code, I am getting an error message "Object Required" at the CrystalReports.ReportAppSession line. Does anyone know how to troubleshoot this?
Dim ClientDoc, ObjFactory, RptAppSession
Set ObjFactory = CreateObject("CrystalReports10.ObjectFactory.1")
'Create the ReportAppSession which allows communication to the Report Application Server
Set RptAppSession = ObjFactory.CreateObject("CrystalReports.ReportAppSession")
Dim ClientDoc, ObjFactory, RptAppSession
Set ObjFactory = CreateObject("CrystalReports10.ObjectFactory.1")
'Create the ReportAppSession which allows communication to the Report Application Server
Set RptAppSession = ObjFactory.CreateObject("CrystalReports.ReportAppSession")