C
cab626
Hello All….
I’ve been pulling my hair out trying to figure this problem that I hav
with my database. Please excuse me if I don’t have all my terminolog
correct. I want to be able to keep track of our spare parts inventory
and allow user to “check out” parts from stock. I have made a tabl
that I called “Spare Parts inventory.” In that table I have severa
fields but most importantly are the field “In Stock, and I also have
field in that table labeled “remove from stock.” There’s my problem …
want to be able to subtract “remove from stock” from “stock” then hav
the new valve be updated to the “stock” field. Example, 10 apples “i
stock”. I “remove from stock” 4 apples. Now I have 6 apples in stock.
can’t seem to figure it out………. Please Help !!!!
i was told that all i would need to do is retrieve the current value o
"stock" from the database, either by opening a recordset or by doing
DLOOKUP, then subtract the "remove from stock" value from "stock", an
finally update the "stock" field, again by either using a recordset o
via an SQL statement???? How is this done ???
Many Thanks
E
I’ve been pulling my hair out trying to figure this problem that I hav
with my database. Please excuse me if I don’t have all my terminolog
correct. I want to be able to keep track of our spare parts inventory
and allow user to “check out” parts from stock. I have made a tabl
that I called “Spare Parts inventory.” In that table I have severa
fields but most importantly are the field “In Stock, and I also have
field in that table labeled “remove from stock.” There’s my problem …
want to be able to subtract “remove from stock” from “stock” then hav
the new valve be updated to the “stock” field. Example, 10 apples “i
stock”. I “remove from stock” 4 apples. Now I have 6 apples in stock.
can’t seem to figure it out………. Please Help !!!!
i was told that all i would need to do is retrieve the current value o
"stock" from the database, either by opening a recordset or by doing
DLOOKUP, then subtract the "remove from stock" value from "stock", an
finally update the "stock" field, again by either using a recordset o
via an SQL statement???? How is this done ???
Many Thanks
E