>>I'm getting "operator/operand mismatch" on this line:
>>
>>
>> lcString = lcString + EVALUATE(FIELDS(lnFor,ALIAS())) + [,]
>>
>>
>>
>>
>Sorry, it should be:
>
> lcString = lcString + TRANSFORM(EVALUATE(FIELDS(lnFor,ALIAS()))) + [,]
>
Ok, I got it. I had to set lcString to '' first.
But now, how do I get rid of all the ',' that are getting put into my empty fields? I want them to stay empty in the string.