Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Multiple reports in crviewer with Crystal Reports 8.0/vB 6.0

Status
Not open for further replies.

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?
 
Updating the crviewer.dll with the patch for a different problem has resolved my problem. The crviewer8.exe file from the Seagate web site was used.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top