Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Set Path to doesn't change my new table location
Message
From
19/08/1999 14:25:38
 
 
To
19/08/1999 11:59:13
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00255339
Message ID:
00255435
Views:
9
>Hello,
>I have built an executable and when I run it the first time, I can locate the location of the tables. Then I store this path and SET PATH TO thisPath. However, running the program, it ignores the new pathlocation and uses the old path, which is stored (as I think) in the databasecontainer. If the original path doesn't exist, the correct tables are used in the application. But I'm irritated by this behavior. Do I something wrong? How can I make sure to which table location the databasecontainer is linked to?

You need to change the content of the .DBC, which stored the full path of the files; changing SET PATH doesn't change the .DBC contents.

Take a look at the threads for the past week; I believe that someone posted code showing how to change this programmatically.

>thanks for your help,
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Previous
Reply
Map
View

Click here to load this message in the networking platform