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!
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.