SELECT PartID FROM PurchaseOrdersLines WHERE EXISTS (select PartID,PartRevisionID from PurchaseOrderLines where PurhcaseOrderLines.PurchaseOrderID = PurchaseOrders.PurchaseOrderID And PurcaseOrderLines. PurchaseOrderID= {?OrderID} Or Select PartID From PurchaseOrdersLines INNER JOIN PurchaseOrders ON PurchaseOrders.[PurchaseOrderID] = PurchaseOrdersLines.[PurchaseOrderID] Where PurchaseOrders.[PurchaseOrderID]={?@OrderID}
PurchaseOrders.[PurchaseOrderID]={?@OrderID}
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)