>I have found that VFP will continue on with the code even though the new dbf may not be closed (disk activity).
>Try using
>on error - call proc that simply returns .T.
>DO while .T.
> Use tmp.dbf in 0
> If used('tmp')
> EXIT
> endif
>enddo
>on error
Interesting, I have never seen this problem.
Could you give some info on what OS, machine hardware, any type of disk cache, version of Foxpro.
Thanks,
Mike
Michael McLain