thanks for your advice.
I have created three formulae following examples obtained from a Crystal Reprot web site(Ken Hamady).
In the report group header:
WhilePrintingRecords;
StringVar chain := '';
NumberVar ChCnt := 1
In the detail section: ( suppressed when report runs)
WhilePrintingRecords;
StringVar Item:= {Table.field};
StringVar Chain;
NumberVar ChCnt;
if ChCnt = 1
then (ChCnt:= 2; chain := Item)
else
if Length(Chain) + Length(Item) > 254
then Chain := Chain else
chain := chain + ', ' + Item
In the report group footer:
WhilePrintingRecords;
StringVar Chain
when my report runs, I found that data on one line repeating:
A, A, A, B, B, B, C, C,C
I can't figure out where was incorrect in the formula. Could you give my further advice or direction