I know this is like 'driving off a cliff' as some people have stated, but I really need this to update the quantity in stock to 1.
So here's the SQL
UPDATE tblStock SET tblStock.QuantityInStock = 1
WHERE (((tblStock.StockID)=[Forms]![frmDispatch].[frmDispatchLine].[StockID]));
The problem is that when this query is run from the subtable on the form it constantly asks for the parameter value of "[Forms]![frmDispatch].[frmDispatchLine].[StockID]", so I was just wondering, anyone know how to solve this? Get rid of that annoying pop-up box and actually let it find the StockID from the subform.
Thanks
Jordan T