1: 2:
SELECT tblPO_Details.PO_ID FROM tblPO_Details INNER JOIN qryMeasureTotal ON (tblPO_Details.Quantity <> qryMeasureTotal.MeasureQuantityTotal) AND (tblPO_Details.PO_DetailsID = qryMeasureTotal.fkPO_Details);
1: 2: 3: 4: 5: 6:
select d.PO_DetailsID, d.Quantity , m.MeasureQuantity , d.Quantity - m.MeasureQuantity from tblPO_details d join qryMeasureTotal m on d.PO_DetailsID = m.fkPO_Details AND d.Quantity <> m.MeasureQuantity