Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Coding for Peer to Peer networks
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00497969
Message ID:
00501148
Vues:
15
Make that sys(2003). Sorry

>Hey Sam. Determine the current path where the app is by using sys(2004). Store this in a sting and use it to open all of your tables and make other references.
>
>lcPath = sys(2004)
>dbpath = lcpath + "data\"
>
>use dbpath + "trains" in 0
>use dbpath + "tracks" in 0
>use dbpath + "tickets" in 0
>
>Then you never have to worry about which drive your app is on or the user has mapped.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform