>It seems that VFP
>
>set resource to
>
>command leaves resource file open sometimes.
>
>Steps to reproduce:
>
>download
www.eetasoft.ee/resobug.zip file for ressurss.dbf/fpt database.
>
>Run the following program:
>
>
>use ressurss
>use
>
>* Next line causes error: memo file is missing or invalid. Why ?
>SET RESOURCE TO ressurss
>
>SET RESOURCE TO
>
>* Next line causes error "File is in use."
>* Why ? IS this VFP bug ?
>use ressurss
>
From the documentation:
"Issue SET RESOURCE TO without a resource file name to open the default Foxuser.dbf resource file. Issuing SET RESOURCE TO performs an implicit SET RESOURCE ON."
George
Ubi caritas et amor, deus ibi est