M
mattc66 via AccessMonster.com
How do I setup my code so that the following query will fire only on the
items on form match the order number?
UPDATE tblItemSerShipLog INNER JOIN tblLocationDataC2 ON (tblItemSerShipLog.
SerialNum = tblLocationDataC2.SerialNum) AND (tblItemSerShipLog.Item =
tblLocationDataC2.Item) SET tblLocationDataC2.OrderNum = [tblItemSerShipLog].
[OrderNum], tblItemSerShipLog.CustNum = [tblItemSerShipLog].[CustNum],
tblLocationDataC2.Shipped = Yes, tblLocationDataC2.DateShipped =
[tblItemSerShipLog].[TransDate];
items on form match the order number?
UPDATE tblItemSerShipLog INNER JOIN tblLocationDataC2 ON (tblItemSerShipLog.
SerialNum = tblLocationDataC2.SerialNum) AND (tblItemSerShipLog.Item =
tblLocationDataC2.Item) SET tblLocationDataC2.OrderNum = [tblItemSerShipLog].
[OrderNum], tblItemSerShipLog.CustNum = [tblItemSerShipLog].[CustNum],
tblLocationDataC2.Shipped = Yes, tblLocationDataC2.DateShipped =
[tblItemSerShipLog].[TransDate];