You can put that expression directly in the "Expression" field, mark the field as character, and forget about using the Format field.
Cathy
>We let the user decided how many decimals to show 0 to 5 on a report. In the past I've done. TRANSFORM(datafield, '9999999.' + REPLICATE('9', ln_cstdec)) is there a way to do this in the format clause. Like 9999999. + REPLICATE('9', ln_cstdec)
>
>Thanks