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 Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Multiple reports on 1 VB form..help

Status
Not open for further replies.

wawanz

Programmer
Aug 29, 2002
62
ID
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!

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top