Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Dynamic paths in Database
Message
De
12/02/1999 02:27:50
 
 
À
28/01/1999 03:32:57
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00180908
Message ID:
00186912
Vues:
18
>Yes, I know that the paths in the database are relative to it, but the problem that I am trying to solve is that the user can have each table in a different path, and even change this paths dynamically. I can do this with free tables but then I cannot use features like referential integrity, triggers, and so.

VFP relies a lot on knowing where things are ... to make its database work.
As a result you are really asking for trouble.

Having said that ... if you really want to start trying to move files around dynamically ... you should have a look a what codebook did with hard coded data environments on forms.

Also take a look at the state of the dataenvironment object on a form ... during the load event ... provided that automatic loading of tables is set off - it is possible to alter directory locations of the database itself
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform