-----Original Message-----
In general, you construct a Totals query, grouping by one
or more fields and calculating sums, averages, counts,
etc. of other fields.
In your case, how you do this depends on how your data is
structured. As an example, I'll assume you have an Order
Details table that has fields such as:
OrderDetailID
OrderNumber (Foreign Key)
ProductID (Foreign Key)
Price
Qty
To total the entire sales by product, create a query based
on this table and select the ProductID field. Add a
calculated field by typing in the Field Row:
ExtdPrice: [Price]*[Qty]
Now, switch to Totals mode by choosing View, Totals. In
the Total row of the new query design grid, change the
value of ExtdPrice to "Sum". Leave ProductID as "Group
By".
If your data is in a different structure and you can't
figure out how to adapt this approach, post your table
structures.
HTH
Kevin Sprinkel
-----Original Message-----
How can i construct a query/report that gives me sales
totals for a given product number(s)? i thank you in
advance for any help. have a great day all. pete
.
.