Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Don't wanna save file path in project
Message
From
01/04/2004 16:51:11
 
 
To
01/04/2004 14:16:04
General information
Forum:
Visual FoxPro
Category:
FoxPro 2.x
Miscellaneous
Thread ID:
00891557
Message ID:
00891608
Views:
21
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
Previous
Reply
Map
View

Click here to load this message in the networking platform