Hi Lynda,
There's nothing wrong with this piece of code and it should work in both cases. The problem is somewhere before it. Most likely the record pointer is at EOF so EMPTY(memofield) evaluates to .T. but REPLACE doesn't do anything.
>Currently it looks like this:
>
>IF EMPTY(memofield)
> replace memofield with cString
>ELSE
> replace memofield with cstring + CHR(13)+ CHR(10) + memofield
>ENDIF
>the "else" works....
--sb--