Below I have a query that outputs data into an unusable manor, due to the size and manipulation required in excel to make it worth while.
Current Code:
[SELECT U.partno, U.op, Format(u.esh,"Fixed") AS esh, U.consumptiondate, U.inv
FROM (SELECT partno, operation_ as op,ExtendedESHCalc as ESH, format(routingconsumptiondate,"mm/dd/yyyy") as consumptiondate, '' as inv
FROM RoutingConsumptionWithSpanQ
order by partno, operation_, routingconsumptiondate
union all
SELECT partno, operation_ as op, sum((InvExtendedESHCalc*-1)) as ESH, '' as consumptiondate, 'Inventory' as inv
FROM RoutingInventoryValueQ
group by partno,operation_) AS U
ORDER BY U.partno, U.op, U.inv, U.consumptiondate;]
Example Of Adjusted Consumption Based on Current Inventory.zip
I have attached an excel file that shows the current output with grey headings and a yellow headed column of what I would like to see. I am a new user to the forum and fairly new to access, so I am in over my head. All help appreciated.