Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Help with SQL statement
Message
De
22/09/1999 17:05:52
Bruce Covey
Home Depot Television
Atlanta, Georgie, États-Unis
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Help with SQL statement
Divers
Thread ID:
00267805
Message ID:
00267805
Vues:
55
I 'll make this as simple as possible:
I have three tables: Projects, Tapes, & Featpersons. I have an SQL statement with ( Projects INNER JOIN Tapes ) along with ( Tapes LEFT JOIN Featpersons ) and it works fine at this point. However, I have a fourth table that needs to also do a ( Tapes LEFT JOIN checkedout ) in
order to show if the found tapes are in the library or not. I have an IIF() in the SQL statement which processes this nicely. This fourth table can relate via the same field (ctl_index) as featpersons or via another (tapeID) field if it JOINS with Tapes.dbf

Here's the problem: Apparently a table cannot be involved in two simultaneous LEFT JOINS, or I have my syntax wrong. Any help/guidance would be greatly appreciated, and I can e-mail the SQL if necessary.

Thanks
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform