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 14:16:04
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
FoxPro 2.x
Title:
Don't wanna save file path in project
Miscellaneous
Thread ID:
00891557
Message ID:
00891557
Views:
68
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
Next
Reply
Map
View

Click here to load this message in the networking platform