If a table belongs to a database than VFP will find it w/o setting path to it because it stores full table name (including path) in the DBC. In case of a free table it looks first in the curent VFP directory and than on the path. If it cannot find table, it shows default directory in the error message. To fix your problem, remove spaces between directories in the SET PATH command
SET PATH TO C:\SONDA\progs\;C:\SONDA\forms\;C:\SONDA\menus\;C:\SONDA\data\;C:\SONDA\graphics\
The max lenght of the SET PATH is 1,024 characters.
>My routine is like this:
>
>
>SET PATH TO C:\SONDA\progs\; C:\SONDA\forms\; C:\SONDA\menus\;C:\SONDA\data\; C:\SONDA\graphics\
>OPEN DATABASE C:\Sonda\Data\Data shared
>*
>CLEAR
>IF ! USED('RUOTES')
> USE RUOTES IN 0 ALIAS RUOTES
>ENDIF
>
>
>\SONDA\data is the route where are located my tables, but when it gives my an error when trying to open the table called ROUTES (the program search the table in C:\SONDA\ instead C:\SONDA\DATA), what I´m doing wrong?
>By the way: how much path routes does VFP 6.0 supports ?
>
>Thanks in advance.
>Carlos Burgos
--sb--