Code:
updateQry = "UPDATE QryOrderUnitID " _
& "SET QtyOrdered=" & updQtyOrdered & ", ETD=#" & updEtd & "#, UnitDeliveryDate=#" & updUdd & "#, Status=" & updStats _
& " WHERE OrderID=" & updOrderID & ", UnitID=" & updUnitID
I need to write WHERE clause where it matches up those two values, but I seems got a syntax error.
I prefer using AND expression, but it gave me error Type Mismatch. Anyone can help? Thanks