Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Don't wanna save file path in project
Message
De
01/04/2004 16:51:11
 
 
À
01/04/2004 14:16:04
Information générale
Forum:
Visual FoxPro
Catégorie:
FoxPro 2.x
Divers
Thread ID:
00891557
Message ID:
00891608
Vues:
22
To follow up on my earlier post, this is happening when I save my current Environment. I can put the USE statements into my Setup code and it works just fine, but I'd like to know if there's a way to disable the paths when saving the Environment so it looks for the file name in the current folder as opposed to the path it's on on my machine. I'm also using FPW 2.6.

Thanks!

>Hi all,
>
>I'm developing a project on our network, and one of our users is copying it to use on his stand-alone notebook. I'm developing it on our network in:
>
>f:\foxwin\project
>
>And he's using it on his notbook in:
>
>c:\project
>
>The problem is that the generated screen code is saving the paths to the data files. For example, when looking at some .SPR code, I'll see:
>
> use (locfile("f:\foxwin\project\orders.dbf","DBF","Where is orders?"))
>
>And when the user is running this on his notebook WHILE CONNECTED TO THE NETWORK, it won't go to his data files on his c:\project, but instead will go to MY data files on f:\foxwin\project.
>
>How can I generate screen code without the paths being used? I want the generated "locfile" stuff to just look for the file name without the exact drive and path being included.
>
>Thanks very much!
>
>John
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform