Sub Query?


J

Jim

I have a select query that adds up monthly sales for products both by case
and single items for a commission report. An example would be:



Widget A
Single Qty
Single Cost
Total
Case Qty
Case Cost
Total
Grand Total


1
.99
.99
2
5
10
10.99

Widget B
1
.50
.50
1
5
5
5.50








16.49




I need to total the monthly sales at the bottom of the report, but right now
I get the whole total for both products. IE: Widget A $16.49 Widget B $16.49
which gives me a total of $32.98. The more products on the invoice, the more
duplicate totals and bigger grand total at the bottom. I need to have it add
up the total for the entire invoice once per invoice number in the report
footer. I thought about using a sub query, but I can't figure out how to do
it. Anyone have any suggestions?

Thanks



Jim
 
Ad

Advertisements

Ad

Advertisements

J

Jim

Yes I'm grouping on the widget field, but I don't have the group footer
turned on. I was trying to total it in the report footer.
 

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