Hi Juan,
> This situation is with VFP6 SP5.
That might explain it. There have been some bugs in VFP 6 regarding buffers that have been fixed in VFP 7. If the problem goes away when you use a more recent version of VFP, you might not want to spend time on nailing this down, since you already found a work around.
--
Christof