I have a VB app that includes 3 forms - 1 main form and 2 forms with CRViewer objects to display Crystal reports that have been added to the VB project as CrystalReport1 and CrystalReport2. The 2 command buttons on the main form launch the appropriate Crystal report and the Crystal parameter screen pops up and allows user parameter input and then the report comes up in the viewer correctly. All the code for this works fine (including passing the logon parameters to the SQL server) for both reports - the problem comes in when the report viewer is closed via the X in the upper right corner and the main menu is again displayed. If the command buttons are clicked on a second time the Crystal parameter screen does not appear to allow for new parameters to be entered. The form is being unloaded to return to the main menu - is there a way to also close the CRViewer object or to reset the recordsource property so that a new report can be launched without ending the entire VB project and restarting it? (The VB project is compiled and distributed as an .exe)
Thanks for any help!!
Thanks for any help!!