Hi guys,
I'm writing a VB6 application with Crystal Reports 4.6
And I have this 1 form (Report Manager) that would print many kinds of reports. And I'm using only 1 CrystalReport component on that form. And these reports, they vary in terms of number of formulas and some use selectionformula, some use SQLQuery. After I printed the first report and wanted to print a second one (different report), most of the time VB raises an error: error in formula, SQL Server error... BUT if I close that form then print the second one straight away, it goes fine... I think it has to do with the CrystalReport1 component... What should I do? Should I put as many components as the reports on that form?
Thanks guys!
I'm writing a VB6 application with Crystal Reports 4.6
And I have this 1 form (Report Manager) that would print many kinds of reports. And I'm using only 1 CrystalReport component on that form. And these reports, they vary in terms of number of formulas and some use selectionformula, some use SQLQuery. After I printed the first report and wanted to print a second one (different report), most of the time VB raises an error: error in formula, SQL Server error... BUT if I close that form then print the second one straight away, it goes fine... I think it has to do with the CrystalReport1 component... What should I do? Should I put as many components as the reports on that form?
Thanks guys!