Beth,
You should be able to do it this way:
lcCmd = 'loPaid.COMMENT' + PADL(lnloop, 2, '0') + ' = ALLTRIM(lcRequest.COMMENT)'
&lcCmd
It's not the prettiest, but it should work. ;)
HTH,
Chad
>Hi, Sergey
>
> I do it the way you suggested, and I get a compile error of: Invalid use of a Visual FoxPro function as an array.
>
>any ideas?
>
>TIA
>
>>See
Re: Evaluate() on a built field name Message #
1087609>>
_________________________________
There are 2 types of people in the world: