In looking over documentation and other tips and notes on the subject of multiple reports in Crystal Viewer I have not found a good way to use 1 crystal viewer to hold different reports from different parts of our application. In the notes I have seen it talks of having to define multiple reports, use CRVIEWERLibCtl.ReportSourceRouter and then it all works. I have tried it but after I create the first report, leave the viewer open, click on another part of the application and run its report nothing happens. Stepping thru the VB code it just goes right thru the .Show portion without any trouble, but only the original report is still there. I have gotten 2 reports to show up in the first app, allowing me to use enablegrouptree to be able to click between them.
Anybody have any thoughts on this? Do I have to create multiple versions of the viewer object in VB so I will have multiple viewers? If there is a way to use one let me know.
Thanks. Jim
Anybody have any thoughts on this? Do I have to create multiple versions of the viewer object in VB so I will have multiple viewers? If there is a way to use one let me know.
Thanks. Jim