G
Guest
I have set a query to update one table based on data in another. The only
problem is that every time the query runs it uses every record and not just
the last one. This is an inventory sign out form that updates a 'hardcopy'
inventory list in another data table. I should probably just use a
calculation query, but this is how I've been told it has to be done.
What I have:
UPDATE ToolData AS t, ToolCribSignOut AS s SET t.Inventory =
(t.Inventory-s.SignOutQuantity)
WHERE t.ToolCribDesignation=s.ToolCribDesignation;]
Any suggestions are welcome!
problem is that every time the query runs it uses every record and not just
the last one. This is an inventory sign out form that updates a 'hardcopy'
inventory list in another data table. I should probably just use a
calculation query, but this is how I've been told it has to be done.
What I have:
UPDATE ToolData AS t, ToolCribSignOut AS s SET t.Inventory =
(t.Inventory-s.SignOutQuantity)
WHERE t.ToolCribDesignation=s.ToolCribDesignation;]
Any suggestions are welcome!