Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Compound key
Message
 
 
À
30/06/1998 12:15:08
Koos Veel
Gamma Research
Aruba
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Divers
Thread ID:
00112973
Message ID:
00113139
Vues:
23
Luco

Since VFP added the integer field type, I strongly recommend that you stop using compound keys for relations. Just use uniquely internally generated keys in sequence to provide the links between tables. With parameterized views retrieving child records can be done in any order you choose.

>I'm used to work with compound keys. For me that means that the primary key of a table consists of two fields which make it unique.
>
>When I set relations, I can make a relation using only the half of the key(1 field) which I relate to another table.
>
>How can you implement this in Vfp ?
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform