>SET SAFETY OFF
>COPY FILE (anxFullPth) TO "DADOS\ENVIO.DBF"
>SET SAFETY ON
>
>I have I message "file is in use"
>
>Can this be because the envio.DBF is a cursor of my form ?
>If so, is it possible to disable de cursor of the form, and then enable it again ?
Use APPEND FROM instead of COPY FILE.
Select envio
Append From (anxFullPth)
Edward Pikman
Independent Consultant