you can use the join function I think ....but I usually use a looping formula
//@DisplayParm
WhilePrintingRecords;
stringVar result := "";
numberVar pointer;
for pointer := 1 to ubound({?ParamArray}) do
(
// if it is a string param use this
result := result + {?ParamArray}[pointer] + ", ";
// for any other (except boolean) data type
result := result + totext({?ParamArray}[pointer]) + ", ";
);
result := Left(result,length(result) - 2);
result;
If you believe you can exceed 254 chars then you must take precautions.
Jim Broadbent
The quality of the answer is directly proportional to the quality of the problem statement!