Information générale
Catégorie:
Codage, syntaxe et commandes
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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement