Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Table/Database paths in form Data Environment
Message
 
 
À
23/04/1996 15:20:54
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00000802
Message ID:
00000812
Vues:
51
>>I noticed that the path to the data tables in the
>>dtabase
>>used in my form's data environment are stored as
>>explicit
>>paths (i.e. d:\dir1\dir2\file.dbf).
>>
>>I am developing in a directory structure very
>>different
>>from the one the system will be run in. How will
>>the
>>explicit paths stored in the data environment
>>effect
>>the system when it goes into production?
>>
>very badly
>the app will look for the files in the explicit
>directories
>i always use relative pathes (..\data etc.)
>u might want to look for a util called something
>like
>dbc relocation wizard (i think i saw such a thing
>on compuserve)
>
>Arnon Gal-Oz
>

All of my code uses relative paths which will work both for
development and production. The data environment uses
explicit paths. I suppose I could dynamically change the
paths in the .dbc file and in the data environment in
my apps setup procedure.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform