Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Multi-Table View
Message
De
03/05/1999 05:10:06
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
Multi-Table View
Divers
Thread ID:
00214495
Message ID:
00214495
Vues:
57
I am trying to create a view using the designer in 6.0. It has three tables: ENROLL (a student's classes), SCHEDULE (the schedule data for a class), and FINAL (final grade data for a class). I need to relate these tables as follows:

1. ENROLL.SchedFKey->SCHEDULE.PKey
2. ENROLL.PKey->FINAL.EnrollFKey

If I create either join, everything is fine. As soon as I add the 2nd one, I get an error message: [ SQL: Column 'PKEY' is not found ]OR [ Column 'SCHEDFKEY' is not found ] (if I create #2, above, first).

Are we not allowed to choose two fields from one table for joins in a view?? If not, how can I accomplish what needs to be done?

Color me bummed. TIA for any assistance.

John
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform