The problem I am having is this...my user is seeing the below information on a report (there is a lot more info, but this should be good enough for an example)
Case Party D.O.B. Charge(s)
123 Smith, John 01/01/1973 124-A
123 Smith, John 01/01/1973 466-13C
123 Smith, John 01/01/1973 8673-A
Basically, my user wants me to be able to take the charges and separate them by commas instead of having them show up on each line (only wants to see one line for the case with the charges all together, separated by commas). I am pretty sure I can do this with a cursor in my stored proc, but I don't want to do that because my query is using dynamic sql and is already pretty complex. Is there a way to set up the case id as a group and based on that group loop through the records, taking the charges and stringing them together with commas? I am using Crystal Reports 9.0 Professional Edition.
Any help would be greatly appreciated...thanks in advance.
JHein
Case Party D.O.B. Charge(s)
123 Smith, John 01/01/1973 124-A
123 Smith, John 01/01/1973 466-13C
123 Smith, John 01/01/1973 8673-A
Basically, my user wants me to be able to take the charges and separate them by commas instead of having them show up on each line (only wants to see one line for the case with the charges all together, separated by commas). I am pretty sure I can do this with a cursor in my stored proc, but I don't want to do that because my query is using dynamic sql and is already pretty complex. Is there a way to set up the case id as a group and based on that group loop through the records, taking the charges and stringing them together with commas? I am using Crystal Reports 9.0 Professional Edition.
Any help would be greatly appreciated...thanks in advance.
JHein