Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
A many to many relationship
Message
De
02/09/2000 10:06:31
 
 
À
02/09/2000 08:48:52
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00412071
Message ID:
00412079
Vues:
15
>I'm trying to establish a MtM relationship between 2 tables. One is a students table, each student has a unique Id#, and the other is a classes table. Each class has a unique Id# also. I'm using a 3rd table as a link between those two students-classes tables, but somehow I'm not getting the expected results. Cant' build a view with these 3 tables. I got error message saying one same table can't be the child for two parent tables. Any general guidelines on how to succesfuly accomplish this?
>Thanks in advance for your time.
>Ulises.

I'm guessing from the error that you have put the linking table first.
The linking table should be in the middle of the relationship in view, e.g.

In view designer:
Add students table
Add linking table (indicate relationship)
Add classes table (indicate relationship)

HTH
Insanity: Doing the same thing over and over and expecting different results.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform