Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
The program does not search for a table on the server
Message
De
23/11/2004 05:15:11
 
 
À
22/11/2004 15:48:18
Sixto Gonzalez
Smai Developers Ca
Vénézuéla
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Versions des environnements
Visual FoxPro:
VFP 6
OS:
Windows '98
Network:
Windows 98
Database:
Visual FoxPro
Divers
Thread ID:
00963599
Message ID:
00963748
Vues:
4
Sixto

It looks like you've only included the RELATIVE path to the folders beneath your DEFAULT folder. You can store your network path or whatever in, say, an .INI file and read this. Then the code to pick up your actual path can be like:
lcPathRoot = however_you_get_it    && e.g. like "F:\USER_SYSTEM_PATH\"
lcFullPath = SetUpPath( lcPathRoot) 

FUNCTION	SetUpPath
PARAMETERS	tcPathRoot
LOCAL		lcPath, lcPathRoot

lcPathRoot   = ADDBS( tcPathRoot)
lcPath	    = lcPathRoot + "Base" + ";" + lcPathRoot + "Image" + ";" + lcPathRoot + "Help"
Set PATH to ( lcPath)

Return lcPath
HTH

Terry

>thanks...for your answer..
>
>my set path is:
>
>set path to base,image,help
>
>how as I indicate to it, that it takes the route in the network and not in the one from the local hard disk?
>
>
>Regards,
>
>Sixto
- Whoever said that women are the weaker sex never tried to wrest the bedclothes off one in the middle of the night
- Worry is the interest you pay, in advance, for a loan that you may never need to take out.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform