Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
File path in a network in a table field
Message
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 9 SP2
Divers
Thread ID:
01331812
Message ID:
01331814
Vues:
16
>If I am in PC # 1, it saves as:
>
>C:\a1\gera2\anexos\169_0MRBSPpaypal.jpg && sample 1
>
>If I am in PC # 2, it saves as:
>
>\\MFP-E2AEDFAF374\A1\GERA2\\anexos\169_0MRBSPpaypal.jpg && sample2
>
>I am using SYS(5) + curdir() + "\anexos" to capture the location
>
>It this a correct way to save files location ?
>
>I can not access file path sample 1 if I am calling it from PC # 2

Nope, becuase if the user from PC 2 try to open the file saved in PC1 it will fail just because that file didn't exists in the PC2. Always try to save the file with its UNC name.
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform