Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Move Database to another HDD
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00431262
Message ID:
00433876
Vues:
15
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.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform