Guys,
I am having a heck of a time getting the following to work and perform properly.
Env.: VB6 (SP3), SQL 7.0, Crystal Reports 8.0.441 (Dev. Ed.)
I have a main report with 2 groups and 2 sub-reports which are all based on parameterized SQL stored procedures. In every group footer, I place a sub-report and link its parameter to the value in the current group footer. This is extremely slow as it must execute an SQL stored proc. with the passed parameter for every sub-report in every group footer. The sub-reports contain all the data as the main report, except that it is grouped, sub-totalled, and summed in a different manner and is quite complex.
We've tried to pass an ADO recorset to the main report and its sub-reports. In the sub-reports though, we would need a different flavour of the main totals (different grouping, sorting, etc...). How would we be able to manipulate the ADO Recordset to generate the needed information for the sub-reports?
Any help is greatly appreciated.
I am having a heck of a time getting the following to work and perform properly.
Env.: VB6 (SP3), SQL 7.0, Crystal Reports 8.0.441 (Dev. Ed.)
I have a main report with 2 groups and 2 sub-reports which are all based on parameterized SQL stored procedures. In every group footer, I place a sub-report and link its parameter to the value in the current group footer. This is extremely slow as it must execute an SQL stored proc. with the passed parameter for every sub-report in every group footer. The sub-reports contain all the data as the main report, except that it is grouped, sub-totalled, and summed in a different manner and is quite complex.
We've tried to pass an ADO recorset to the main report and its sub-reports. In the sub-reports though, we would need a different flavour of the main totals (different grouping, sorting, etc...). How would we be able to manipulate the ADO Recordset to generate the needed information for the sub-reports?
Any help is greatly appreciated.