Jim:
If you have an error when you CLOSE ALL/DATA *and* your ONERROR routine is not capturing the error, then VFP will say the data is still open.
This is just one that I have experienced.
>I have a program where I am trying to close a database file. After closing it I try to copy the database files, but vfp says it's still open. The code is below:
>
>* Copy the database files
> close data all
> close databases all
> close all
> copy file configurator.dbc to config.dbc
> copy file configurator.dct to config.dct
> copy file configurator.dcx to config.dcx
>
>Any suggestions?
>
>Jim