Thanks for the hyperlink. Maybe you can check this:
I tried the following code:
Private Sub Command1_Click()
'de is a DataEnvironment
'con is a ADODB.Connection
de.con.Open
'Next instruction is like the C instruction on the hyperlink
de.con.Execute "SET EXCLUSIVE ON;PACK inmuebac"
End Sub
I get an error: "File is in use".
The error is returned by ODBC Microsoft Visual FoxPro Driver.
The file is closed, and I didn't open it before the code above.
Any help from you will be useful!!!
Thanks again.
glurrea
glurrea