>I have never done a UDF in a report before. In the reportfield expression I would
>
>DO smarttrim_it in smarttrim.prg with subdivsn, phase_unit, lot, block
>
>Does that seem correct?
>
>Brenda
Brenda,
You want to use it as a function- smarttrim(subdivsn, phase_unit, lot, block) - so it returns the value you want.
David.