Hello,
I am using crystal reports 9 and cannot figure out the best way to handle this problem. I am connecting to a stored procedure and current I have 2 groups in the report. 1 called worktype(ie. Enhancement) and the secon group called Business Unit(ie. Communications). Basically the report currently looks like this
Enhancement
Communications
Project-74-EventMgmtPlanning Oct282003 500 $10,000.00
Project-75-Portal Nov302003 400 $20,000.00
Now depending on the sort type the user chooses ie. 0=BusinessUnit and 1=WorkType the report will need to change it's grouping. So basically in the above example Sortype was equal to 1.
Now the problem is if the user chooses Sorttype 0(BusinessUnit) I need the report to look as follows.
Communications
Enhancement
Project-74-EventMgmtPlanning Oc282003 500 $10,000.00
Project-75-Portal Nov302003 400 20,000.00
Without affecting the totals, subtotals and grand totals.
I am using crystal reports 9 and cannot figure out the best way to handle this problem. I am connecting to a stored procedure and current I have 2 groups in the report. 1 called worktype(ie. Enhancement) and the secon group called Business Unit(ie. Communications). Basically the report currently looks like this
Enhancement
Communications
Project-74-EventMgmtPlanning Oct282003 500 $10,000.00
Project-75-Portal Nov302003 400 $20,000.00
Now depending on the sort type the user chooses ie. 0=BusinessUnit and 1=WorkType the report will need to change it's grouping. So basically in the above example Sortype was equal to 1.
Now the problem is if the user chooses Sorttype 0(BusinessUnit) I need the report to look as follows.
Communications
Enhancement
Project-74-EventMgmtPlanning Oc282003 500 $10,000.00
Project-75-Portal Nov302003 400 20,000.00
Without affecting the totals, subtotals and grand totals.