Furfaro2020
New member
- Local time
- Today, 15:46
- Joined
- May 13, 2020
- Messages
- 1
Hi!
Really hoping someone can help me
I am working on an ordering system and have created an update query to deal with stock quantity changes.
My new order form has a continuous subform to allow the user to select multiple products in one order.
When I run my update query it only updates the data for the last product on the order. I have put my SQL code below, hoping there is an obvious solution to this problem somewhere!
UPDATE Batch SET Batch.QuantityInWarehouse = [QuantityInWarehouse]-forms!NewSale!SalesOrdersForm!salequantity
WHERE (((Batch.BatchID)=[Forms]![newsale]![SalesOrdersForm]![SalesCider]));
Thanks!
Really hoping someone can help me
I am working on an ordering system and have created an update query to deal with stock quantity changes.
My new order form has a continuous subform to allow the user to select multiple products in one order.
When I run my update query it only updates the data for the last product on the order. I have put my SQL code below, hoping there is an obvious solution to this problem somewhere!
UPDATE Batch SET Batch.QuantityInWarehouse = [QuantityInWarehouse]-forms!NewSale!SalesOrdersForm!salequantity
WHERE (((Batch.BatchID)=[Forms]![newsale]![SalesOrdersForm]![SalesCider]));
Thanks!