Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Persistent relationships
Message
De
29/08/2005 12:31:25
 
 
À
27/08/2005 04:53:33
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
01044470
Message ID:
01044793
Vues:
13
Thanks Fabio. I usually don't use a dataenvironment with a form because my data files frequently move around from server to server. If I use a dataenvironment the form can't find the files when they move. So I always establish the data environment programmatically using a location pointer in the user's userdata.dbf. That way when the files move all I have to do is change a data value in one dbf and everything is good to go.

>>Well I'm finally trying to understand how to deal with relationships in a database container. I've created a database with a few related tables and have created the persistent relationships between them.
>>
>>However if I USE and BROWSE the 2 tables, there appears to be no relationship established. What am I missing? I was under the impression that creating a premanent relationship within the database would relieve me from having to reestablish it all the time with separate code. Was I wrong? If so, what's the advantage of setting the relationship in the database? Anything besides referential integrity?
>
>A DBC's relationship is automatically reestablish inside a SCX's dataenv.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform