Hello Everyone
I'm currently busy doing a program that can capture sales, and evrything is working fine at the moment. The only problem is that in the stock table I can't update the quantity(when the company purchases stock), and also can't decrease the quantity(when they are sales). If I were to get this one, I would have championed my project.
PLEASE HELP!!!!!
mpande
0
Newbie Poster
Recommended Answers
Jump to PostDim MyValue As Double 'for decimal places else integer if inventory not to execeed 32k+ or then long
MyValue = MyValue + Quantity '5 + -5 = 0 5 + 5 = 10
Update Table Set field = MyValue
Or you can just keep a recordset in …
All 3 Replies
Reply to this topic
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.