>Naomi
>
>close database mydatabase is not allowed in my VFP
>
>close databases works, but does not solve the problem
>
>No erros message
>
>I tried as below
>
>
>***************ops, I realized this this maybe useless in same PC. I will try a network
>
>OPEN DATABASE DADOS
>
>TRY
>
>CLOSE DATABASES all
>
>
>OPEN DATABASE DADOS excl
>
> CATCH TO oErr
> n_erro = oErr.ErrorNo
>
>
>
>= MESSAGEBOX(N_erro)
>
>
>
>endtry
Yes, sorry.
Try
open database myDatabase shared
************
to close
set database to myDatabase
close database
open database myDatabase exclusive
(open it shared first in another session of VFP to get an error)
If it's not broken, fix it until it is.
My Blog