Hi Terence,
Thank's for your response.
But i don't try to do any report, my problem is with tableupdate(), and in the VFP help i don't see nothing that tell us about some problem with the workarea change within the scan loop, i try it with
replace artigos.stkreal with myvar1 in artigos
to force to update the correct workarea, and the result in this case is the same.
But if i run only one scan loop, it works ok, with the workarea change.
I try the 'do !eof ... enddo' and i get the same result.
The only think i have in this moment is, in the first loop a replace the field artigos.stkreal, but i don't do any tableupdate, in the second loop i replace it again, is there any problem with that? and then i do the tableupdate()
If you know another trick for it, i apreciate,
Regards,
João Batista