>>And I have a second question: in the chance that there was a free table in the current directory with the same name as a view in the current database, which would be opened by USE xxx?
>
>My guess would be the view, but this is easy enough to test. Create a view with the same name as a free table and open the DBC. After your USE command, look at the DBF() of the alias. That will tell you which one was opened.
If you write
USE DBCName!ViewName or
USE (path+"tableName") foxpro will know without any confusion what you want to use :-)
If we exchange an apple, we both get an apple.
But if we exchange an idea, we both get 2 ideas, cool...Gérald Santerre
Independant programmer - internet or intranet stuff - always looking for contracts big or small :)
http://www.siteintranet.qc.ca