I have this simple select query :
This query is non-Updatable.
If I pull out tblProductsProcesses, the query is updatable, but the purpose of the query is to update O.Plating, based on PP.ProcessFK.
I tried several methods, used some kind of sub queries (based on my limited knowledge), but in any case the result was a non-updatable query.
I need to update the fields in tblOrders .
Can anyone do some magic and shed a light here?
Adding several DLookup fields to pull data from tblProdductsProcess, solves the problem, But I'm looking for some more efficient ways.
Thanks.
SQL:
SELECT
O.OrderNo,
O.OrderProductFK,
O.Plating,
PP.ProcessFK
FROM
tblOrders AS O
INNER JOIN (tblProductsProcesses AS PP
INNER JOIN tblProducts AS P ON PP.ProductFK = P.ProductPK) ON O.OrderProductFK = P.ProductPK
WHERE
PP.ProcessFK In (15,16,17,23) AND (O.DeletedOn Is Null)
If I pull out tblProductsProcesses, the query is updatable, but the purpose of the query is to update O.Plating, based on PP.ProcessFK.
I tried several methods, used some kind of sub queries (based on my limited knowledge), but in any case the result was a non-updatable query.
I need to update the fields in tblOrders .
Can anyone do some magic and shed a light here?
Adding several DLookup fields to pull data from tblProdductsProcess, solves the problem, But I'm looking for some more efficient ways.
Thanks.
Last edited: