Keep track of stock items by query

smile

Registered User.
Local time
Today, 06:19
Joined
Apr 21, 2006
Messages
212
Hy, I have this db where a user can purchase and item and total stock number needs to be updated.

I can calculate how many items are left but how to update the warehause table?

I can live without table updating, but if the same item is purchased multiple times my query return incorrect values as the number from which the formula subtracts is never changed.

See attached database.
 

Attachments

Last edited:
Done some more tweaking now, but how to integrate "query2" column "expr1" that lists remaining stock items for that item to the "sell" query?

If I just drag it in the design view I get multipe ID's see "sell query integrated"

see attached db example.
 

Attachments

Users who are viewing this thread

Back
Top Bottom