Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Path problem
Message
 
 
À
30/11/2002 20:00:21
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00728424
Message ID:
00728428
Vues:
18
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--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform