Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Primary index
Message
De
10/11/2002 11:02:49
Irv Adams
MSC Managed Care, Inc.
Floride, États-Unis
 
 
À
08/11/2002 16:33:37
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00720081
Message ID:
00720756
Vues:
7
Oh, I see...of course, the child often has two generated key fields, one that can be non-unique (the Child.Parent FK) and then it's own unique PK (if needed) for establishing more relations down the tree structure...

Thanks for the clarification, both of you.

-Irv.

>>Just curious...how would you handle this if the PK was used in a Parent-child relationship with another table? You couldn't just regenerate the PKs without re-establishing the previous relationships, right?
>>
>>-Irv.

>
>As Craig said, the child record PK is the one you change. The relation from the child to the parent is in the Child.ParentFK field (a foreign key pointing to the parent's primary key). Does it make sense?
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform