how to get dynamic sum

kevin_vdb

New member
Local time
Today, 22:26
Joined
Aug 24, 2006
Messages
7
Hey,
I made a table Products: order number (key), name, supplier, price,...
I copied it into a query, and made a form of it, so I can look up products by order number with a combo-box. Now I'm into my next step (and it gives me a headache):
In the form I added a new text box, where I should put the incoming amount of a product in, and another text box to put in the products that are empty.
Now the question: how can I make a query that counts the amounts of incoming and empty products, as well as the difference between those two, in a way I can do multiple additions?
I hope you know what I mean by dynamic sum: start stock=0 first delivery: +3==> stock 3 +next delivery: +6 ==> stock 9,...

If anyone has some idea...
Thanx in advance

Kev
 
This is easy to do if you know how to use Visual Basic.

Do you?
 

Users who are viewing this thread

Back
Top Bottom