Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Query Parse Error?
Message
 
À
30/10/2002 13:15:34
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00717003
Message ID:
00717019
Vues:
25
Try to avoid multiple inner statements. You can create a query in two steps or use something like:
SELECT Tproduct.fpname, Ttooltype.fttype, Tvendor.fvname;
FROM dbtwiz!tproduct, dbtwiz!ttooltype, dbtwiz!tvendor, dbtwiz!ttool ;
where Tvendor.fvnum = Ttool.fvnum and;
Ttooltype.ftnum = Ttool.ftnum and;
Tproduct.fpnum = Ttool.fpnum


>When I try to create a query in the designer I get an error when I try to save the query.
>
>The query runs fine, but it wont let me save it:
>
>"query parse error-try rebuilding in query wizard or by using view designer join tab"
>
>It always happen when I add the fourth table.
>
>SELECT Tproduct.fpname, Ttooltype.fttype, Tvendor.fvname;
> FROM dbtwiz!tproduct INNER JOIN dbtwiz!ttool;
> INNER JOIN dbtwiz!ttooltype;
> INNER JOIN dbtwiz!tvendor ;
> ON Tvendor.fvnum = Ttool.fvnum ;
> ON Ttooltype.ftnum = Ttool.ftnum ;
> ON Tproduct.fpnum = Ttool.fpnum
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform