>Sergey,
>I discovered that my proposed inclusion of WHERE in the update string as well as yours are working but you still have to include the macrosubstitution for the lprFieldValue. In your expression it becomes:
>lcUpdateString = [UPDATE BEST SET ] + lprFieldName + [ = '] + [&lprFieldValue] + ['] + ;
> [ WHERE BESTNR=] + Transform(nBestnr)
>
You don't have to use macro substitution at all, because [&lprFieldValue] is the same as lprFieldValue. Try again, I think problem was not with lprFieldValue.
--sb--