query calculating from a table

G

Guest

Hey i have a table which contains new orders information includes date,
model, quantity, cost , total cost. I need some way of calculating and
displaying the total quantities for the different models in my form. im
really stomped

thanks in advance
 
M

Michel Walsh

I would have start with


SELECT model, SUM(quantity)
FROM tableName
GROUP BY model


Hoping it may help,
Vanderghast, Access MVP
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top