Hi!
I'm finally doing it. I am moving my app to 9.
I understood that I had some queries that would have to be rewritten because they were done at the very first (before I knew better).
I know that GROUP BY must include all selected fields and I know that you experts have many ways to accomplish this.
So I am hoping someone will help me rewrite the following code so that I can understand the possibilities.
Thanks
Judi
I'm finally doing it. I am moving my app to 9.
I understood that I had some queries that would have to be rewritten because they were done at the very first (before I knew better).
I know that GROUP BY must include all selected fields and I know that you experts have many ways to accomplish this.
So I am hoping someone will help me rewrite the following code so that I can understand the possibilities.
Code:
SELECT Scptypes.scptype, Scptypes.scpdesc, Sum(Scrap.scpamnt);
FROM Casting!Scrap ;
LEFT JOIN Casting!Scptypes ON VAL(Scrap.scptype) = VAL(Scptypes.scptype) ;
WHERE Scrap.jobsnumb = lcJobsnumb AND Scrap.ordrnumb = lcOrdrnumb ;
ORDER BY Scptypes.scptype ;
GROUP BY Scptypes.scptype ;
INTO CURSOR csroScrap
Thanks
Judi