Skip to Content
0
Oct 31, 2018 at 07:03 PM

Mulitple Values in Crystal Report report header

674 Views

Dears

I need to combine a list of values into one single result to be shown in the report header.

I used these formulas but it show in the group footer, and I actually I need the result to be in the header of the report


In the Group Header :- Have a Formula @InitiliseRT

WhilePrintingRecords;
StringVar ConcatenatedID;
If Not InRepeatedGroupHeader Then
    ConcatenatedID := "";

In the Details Section :- Have a Formula @UpdateRT

WhilePrintingRecords;
StringVar ConcatenatedID := ConcatenatedID + id1;

Finally, in the Group Footer you can see the result :- Formula @ShowRT

WhilePrintingRecords;
StringVar ConcatenatedID;