Q. how can i deduct the purchased item of the customer in my stock?
Question: how can i deduct the purchased item of the customer in my stock?
-From rockerz_rule07(at)yahoo.com
Answer:
…
rsMY_STOCK_RECORD.Open “SELECT MY_STOCK_TABLE WHERE MY_STOCK_ID_FIELD = ” & ID_OF_STOCK
rsMY_STOCK_RECORD.Fields(”MY_STOCK_ID_FIELD”) = Val(rsMY_STOCK_RECORD.Fields(”MY_STOCK_ID_FIELD”)) – QTY_TO_DEDUCT
rsMY_STOCK_RECORD.Update
…
Above are pseudocode on how to do it.
Note: If you have any question, send it to ask(at)devsource360.com for proper distribution of your question to the devsource360 modulator. thanks.
Ref:
sir can u help me for my system, i’m only a beginner in using vb 6.0. i have a project in school, im creating a point of sale and inventory system and i just want to have a solution in my problem: im using vb.6.0 and ms access
Example: I have a stock of 100 items of a coke for example then the customer by to me 50 items of that item so my stock left only 50 items.



