Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Using existing program?
Message
De
23/03/2007 17:14:28
 
 
À
23/03/2007 16:55:26
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01207621
Message ID:
01208024
Vues:
23
>Hi Naomi,
>
>I just did it this way. Is this legal? I just put crsCNT before my join. Thanks, Sam
>
>
>SELECT aa.PartNum, ..., aa.QtyPer * cc.CurQty as QtyReq, ;
>bb.OnHand - (aa.QtyPer * cc.CurQty) as NetQty ;
>FROM crsCNT cc, crsParts aa LEFT OUTER JOIN crsMaster bb ;
>ON aa.PartNum = bb.PartNum ;
>INTO CURSOR crsTemp
>
No it is NOT legal. And even that query didn't rise an error this is not right at all.
You didn't join both tables crsCNT and crsParts.
The result you got will be: every record in crsCNT will be joined with CURRENT record of the crsParts, is that you want?
I doubt about it.
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform