Guest_imported
New member
- Jan 1, 1970
- 0
Hi,
I've created a report in Crystal 9 that has 3 group headers called Group1,Group2 & Group3. I have three Parameters setup that ask the user for Group1,2 & 3. I then use a formula to choose the appropriate field from the database for each level of grouping. I then use the Group Expert to choose the 3 formulas as the 3 grouping levels .
This works fine & allows the user to choose the groupings and group order that they require. Therefore one report allows for multiple listing with various groupings.
The problem is that is doesn't convert the grouping levels into the SQL statment that would normally get the server to do the work with regard to Grouping & summing. All this is being done on the workstation and takes much longer that if I hardcode the Group fields into the reprort.
I could get arounf this if the SQL Expression builder allowed me to use paramters , but it doesn;t seem to.
Has anyone any ideas on how to build a Dynamicd Grouping reprort that generates the proper SQL code to improve performance ? Is this clear ? Propbably not. Thanks.
I've created a report in Crystal 9 that has 3 group headers called Group1,Group2 & Group3. I have three Parameters setup that ask the user for Group1,2 & 3. I then use a formula to choose the appropriate field from the database for each level of grouping. I then use the Group Expert to choose the 3 formulas as the 3 grouping levels .
This works fine & allows the user to choose the groupings and group order that they require. Therefore one report allows for multiple listing with various groupings.
The problem is that is doesn't convert the grouping levels into the SQL statment that would normally get the server to do the work with regard to Grouping & summing. All this is being done on the workstation and takes much longer that if I hardcode the Group fields into the reprort.
I could get arounf this if the SQL Expression builder allowed me to use paramters , but it doesn;t seem to.
Has anyone any ideas on how to build a Dynamicd Grouping reprort that generates the proper SQL code to improve performance ? Is this clear ? Propbably not. Thanks.