Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problem finding table if user changes directory
Message
 
 
À
02/05/2000 11:53:50
Information générale
Forum:
Visual FoxPro
Catégorie:
Client/serveur
Divers
Thread ID:
00365128
Message ID:
00365139
Vues:
17
I often use this snippet of code in my main program.

*-- Set Default directory from program directory
lcSys16 = SYS(16)
lcProgram = SUBSTR(lcSys16, AT(":", lcSys16) - 1)
lcDefaDir = LEFT(lcProgram, RAT("\", lcProgram))
SET DEFA TO (lcDefaDir)
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform