Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Query designer relating tables
Message
 
À
13/01/2003 20:04:17
Victor Verheij
International Film Festival Rotterdam
Rotterdam, Pays-Bas
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00741247
Message ID:
00741267
Vues:
19
>Why can't I make a query ivolving four tables

Because the Query Designer has issues. You can create the query (or view) in code to get it to work properly, but instead of:
SELECT * ;
   FROM tableA ;
      JOIN tableB ;
         JOIN tableC ;
            ON tableB.id2 = tableC.id2 ;
         ON tableA.id = tableB.id
create it like:
SELECT * ;
   FROM tableA ;
      JOIN tableB ON tableA.id = tableB.id ;
      JOIN tableC ON tableB.id2 = tableC.id2
In other words, list the joins sequentially, instead of nested, as the QD does.

This has been fixed in VFP8, but in the meantime, writing the code manually is your best bet.
My blog
My consulting page
My home page

Member of the Trim Your Auto-Quote Campaign!
What's another word for thesaurus?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform