Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Move Database to another HDD
Message
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00431262
Message ID:
00433876
Views:
14
Roland,
Yes, it doesn't seem right that the drive/path is hardcoded into the project but it's true. You will have to reset the data drive/path information in the form dataenvironments. You can do it by not having the original data available (in which case the app will look for the data somewhere on its path) or you can do it be explicitly programming the new drive into the form in the BeforeOpenTables code. I think there is a FAQ that explains how to do that.

HTH
Barbara

>Hi Barbara,
>
>I develope on my computer using the C: Drive. Then I want to move the app to the network using F: Drive. The project is compiled before moving to the network so I can't open the project and locate the DB. The DB is not included in the project, it is excluded (not compiled within).
>
>The directory (path) is the same on both C: and F:
>
>This doesn't seem right that the drive letter would be part of (hardcoded) the path for the DB. This would make it too difficult to move db around or install to user specified drive and directories during installation of the app.
>
>Any other suggestions?
>
>Thanks in advance!
>Roland...
>
Barbara Paltiel, Paltiel Inc.
Previous
Reply
Map
View

Click here to load this message in the networking platform