You would have to create formulas like the following:
//{@reset} to be placed in the group header for parts:
whileprintingrecords;
stringvar dates1 := "";
stringvar dates2 := "";
stringvar dates3 := "";
stringvar dates4 := "";
//{@accumdates} to be placed in the detail section:
whileprintingrecords;
stringvar dates1;
stringvar dates2;
stringvar dates3;
stringvar dates4;
if {@date1} <> date(9999,09,09) then
dates1 := dates1 + totext({@date1},"M/d/yy") + ", " else
dates1 := dates1;
if {@date2} <> date(9999,09,09) then
dates2 := dates2 + totext({@date2},"M/d/yy") + ", " else
dates2 := dates2;
if {@date3} <> date(9999,09,09) then
dates3 := dates3 + totext({@date3},"M/d/yy") + ", " else
dates3 := dates3;
if {@date4} <> date(9999,09,09) then
dates4 := dates4 + totext({@date4},"M/d/yy") + ", " else
dates4 := dates4;
//{@displaydates1} to be placed in the group footer (Parts):
whileprintingrecords;
stringvar dates1;
left(dates1, len(dates1)-2)
//{@displaydates2} to be placed in the group footer (Parts):
whileprintingrecords;
stringvar dates2;
left(dates2, len(dates2)-2)
//{@displaydates3} to be placed in the group footer (Parts):
whileprintingrecords;
stringvar dates3;
left(dates3, len(dates3)-2)
//{@displaydates4} to be placed in the group footer (Parts):
whileprintingrecords;
stringvar dates4;
left(dates4, len(dates4)-2)
Then you would suppress the detail section. You might need to right click on each display formula->format field->common->check "Can grow." If you want, you can drag the groupname for the Part group into the group footer and suppress the group header, too, but the display formulas must be placed in the group footer, since they are running totals, and would not be correct in the group header.
-LB