I am trying to create two new rows in a report with information gathered from one. Production Quantity-"ProdQty" and Scrap Quantity-"ScrpQty" from one column "production". In the Where clause I specify criteria from another column "WH" as follows 'PQ' OR 'PW' OR 'SP' OR 'S1'...'S7'. How can I make only the 'PQ' AND 'PW' quantities go to the "ProdQty" columm and the 'SP' AND 'S1' TO 'S7' go to "ScrpQty" column in the select statement? I already have a 'CASE' Function in the SELECT clause to change the quantities to a negitive based on a "Credit" column.
Thanks
Thanks