>if you're at eof() in the current workarea, the replace won't happen, because the default scope of a REPLACE is the current record of the current workarea.
>
>go get around this use
REPLACE mitable.field WITH ... IN mitable
>
Thanks Frank, I'll check this.