Information générale
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Hi friends
I created a few folders which must contain costumers' Excel's files.
For example:
D:\COSTUMERS\PETER\SENT
D:\COSTUMERS\JOHN\SENT
D:\COSTUMERS\BILLY THE KID\SENT
I chose a client and I want to open one of the Excel files. I use "GETFILE()" function. If I don't set the folder as default the function forces the user to browse every time he wants to open that file.
When I "SET DEFAULT TO" any of the two first examples I love myself for my intelligence... But when I "SET DEFAULT TO" the third one I hit my head against the table...
I guess the blank spaces among "Billy the kid" is the problem. I don't know why "MD Billy the kid" works and "DIRECTORY("BILLY THE KID") too but not "SET DEFAULT".
I know I can solve this with STRTRAN(cDirectoryName," ","_") but perhaps any of you knows another more honourable solution.
Thank you
Héctor
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement