After making a report using the RDC, then making a report using Crystal. How can I get the same viewer to show each report depending on the report file name.
I don't think your understanding. Or I'm not explaining it right.
report1 (designed using Crystal)
report2 (designed using RDC)
currently report2 shows when I run the CRViewer.
I can't find a property to change the report. I don't want to add another form and CRViewer to view report1.
I can do it if I use the OCX and not the viewer, but there has to be a way to change the report no matter where it was created and show it using the CRViewer.
It's what "Report" is and how it's created that's different. You probably cannot avoid having 2 separate Dim statements, one for the report made as an .RPT and one for the report that is a .DSR file inside of the VB app. And some IF ELSE to assign the right report to .ReportSource.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.