Guest_imported
New member
- Jan 1, 1970
- 0
We have upgraded from Crystal Reports 7.0 to Crystal Reports 8.0. In 7.0 I used the following code:
Dim External_Report As CRAXDRT.Report
Dim Appl As New CRAXDRT.Application
Dim Rptpk As New CRVIEWERLibCtl.ReportSourceRouter
Set External_Report = Appl.OpenReport(Report1.rpt)
Rptpk.AddReport External_Report
Set External_Report = Appl.OpenReport(Report2.rpt)
Rptpk.AddReport External_Report
Set External_Report = Appl.OpenReport(Report3.rpt)
CRViewer1.ReportSource = Rptpk
CRViewer1.ViewReport
Set Rptpk = Nothing
This worked in 7.0 and the group tree in the viewer could be used to navigate from report to report. Since upgrading to Crystal Reports 8.0 everything seems to work fine except only the first report is displayed in the viewer. The group tree looks fine but clicking on any of the nodes doesn't change the report that is displayed only the first report displays.
Can anyone help me?
Dim External_Report As CRAXDRT.Report
Dim Appl As New CRAXDRT.Application
Dim Rptpk As New CRVIEWERLibCtl.ReportSourceRouter
Set External_Report = Appl.OpenReport(Report1.rpt)
Rptpk.AddReport External_Report
Set External_Report = Appl.OpenReport(Report2.rpt)
Rptpk.AddReport External_Report
Set External_Report = Appl.OpenReport(Report3.rpt)
CRViewer1.ReportSource = Rptpk
CRViewer1.ViewReport
Set Rptpk = Nothing
This worked in 7.0 and the group tree in the viewer could be used to navigate from report to report. Since upgrading to Crystal Reports 8.0 everything seems to work fine except only the first report is displayed in the viewer. The group tree looks fine but clicking on any of the nodes doesn't change the report that is displayed only the first report displays.
Can anyone help me?