I forgot how to do this.  I want to add a blank memo field (to be 
populated after the query) into this query.  How again can I do that? 

                    SELECT lu1.cSKU2, lu1.cDescription, lu1.lBuyout, 
lu1.nDefaultLength, m1.nUnitCost, ;
                            m1.nJobID, j1.cJobName, m1.nMatlID, ;
                            j1.dAccepted, ;
                            SPACE(16) as cJobID, ;
                            SUM(m1.nTotalQty) as nSumQty, ;
                            SUM(m1.nTotalCost) as nSumCost ;
                      FROM materials m1 ;
                     INNER JOIN luMaterials lu1 ;
                         ON m1.nMatlID = lu1.iid ;
                     INNER JOIN jobs j1 ;
                         ON m1.nJobID = j1.iid ;
                     WHERE m1.nJobID = tiJobID ;
                     GROUP BY 1,2,3,4,5,6,7,8,9,10 ;
                      INTO CURSOR curTempBOM


tia,
--Michael


-- 
Michael J. Babcock, MCP
MB Software Solutions, LLC
http://mbsoftwaresolutions.com
http://fabmate.com
"Work smarter, not harder, with MBSS custom software solutions!"



_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to