Question : Create static title and multiple summary field - Crystal 2008

How would I do the following:
I would like to create a cross_tab report.

I have the following fields with data for example:
Device Name        Work Code     Level     Signature    Date Ordered
Printer                  102                   1            J. Doe          09-Jan-10
Printer                  103                   2            L. Lindsay   09-Jan-11
Keyboard              ASTK            22          K. Kim         07-Jun-10
Keyboard             AAK                 44          J. Ken           08-08-10

I would like to display in cross-tab format
Device        Work Code         Level           Signature                Date Ordered
Printer         102,103              1,2              J. Doe, Lindsay       09-Jan-10, 09-Jan-11  
Keyboard       ASTK, AAK   22,44          K.KIM, J. Ken         07-Jun-10




The column titles would be static text
How would I create the static text column in a cross-tab report?
I know that Device Name would be my row but I am not sure how to set up multiple summary fields to get the expected above results.
 

Answer : Create static title and multiple summary field - Crystal 2008

I don't think you can use a cross tab and get the result you want.
Crosstab cell formulas are summary functions and there is no Concatenate summary function for strings.

You could do this with a regular report and formulas

In the report header add a formula
WhilePrintingRecords;
Global StringVar WorkCodeList;
Global StringVar LevelList;
Global StringVar SignatureList;
Global StringVar DateOrderedList;
""

Add a group on the device type
Delete the group header field from the group header
Add a formula to the group header to clear the lists
WhilePrintingRecords;
Global StringVar WorkCodeList;
Global StringVar LevelList;
Global StringVar SignatureList;
Global StringVar DateOrderedList;
WorkCodeList := "";
LevelList := "";
SignatureList := "";
DateOrderedList := "";
""

In the detail section add a formula
WhilePrintingRecords;
Global StringVar WorkCodeList;
Global StringVar LevelList;
Global StringVar SignatureList;
Global StringVar DateOrderedList;
WorkCodeList := WorkCodeList  & ", " & {WorkCodeField};
LevelList := LevelList  & ", " & ToText({LevelListField},0);
SignatureList := SignatureList  & ", " & {SignatureField};
DateOrderedList := DateOrderedList  & ", " & ToText({DateField},"dd-MMM-yyyy");
""
In the group footer use formulas to display the lists

WhilePrintingRecords;
Global StringVar WorkCodeList;
WorkCodeList

Similarly for each list

mlmcc
Random Solutions  
 
programming4us programming4us