alright...
...by now you probably have guessed (from all my other posts) that i'm building a small pos system for a friend that talked me into it w/ some scooby snacks.
anyway...he had one last request:
he has the same product set up at 3 different registers w/in his store. for security reasons, he's labeled these locations w/ "lot" indicators, so a unique invID can have upwards of 4 lots available w/ a TotalRun tracking all lots added together.
so...here's what it looks like in my table:
InvID
OrigQty
BackStockRunQty
ARunQty
BRunQty
CRunQty
TotalRunQty
on the sales side, he wants to be able to select the lot that he's selling from and have it deduct from the appropriate column in the InvID row.
example:
selling
invID: 1
lot: A (could also either be B, C, or BackStock) <---this is what's getting me, i can deduct if this wasn't in there and just dealing w/ invID.
qtySold: 20
^^^ how would i use a query to update the appropriate cell?
please help...this is truly one of my last hurdles.
cheers,
b_c
...by now you probably have guessed (from all my other posts) that i'm building a small pos system for a friend that talked me into it w/ some scooby snacks.
anyway...he had one last request:
he has the same product set up at 3 different registers w/in his store. for security reasons, he's labeled these locations w/ "lot" indicators, so a unique invID can have upwards of 4 lots available w/ a TotalRun tracking all lots added together.
so...here's what it looks like in my table:
InvID
OrigQty
BackStockRunQty
ARunQty
BRunQty
CRunQty
TotalRunQty
on the sales side, he wants to be able to select the lot that he's selling from and have it deduct from the appropriate column in the InvID row.
example:
selling
invID: 1
lot: A (could also either be B, C, or BackStock) <---this is what's getting me, i can deduct if this wasn't in there and just dealing w/ invID.
qtySold: 20
^^^ how would i use a query to update the appropriate cell?
please help...this is truly one of my last hurdles.
cheers,
b_c