K
KsFireworksGal
I have a query that determines return item price based on 1. the correct
price level for the customer and 2. the packing type returned (each, pack,
box, brick).
The query calculates the total of the return of each item.
My confussion lies in calculating the total for the group of items returned
in each box (which is individually bar coded). And then the total for the
overall return for th client.
Each client may return many boxes and each box may have many items.
When I try to sum my expression total for each item by the group (box it is
in) in my report it only calculates the last item listed. If i do it as sum
of all then I get the previous box total plus the sum of the last item in the
current box.
Report is as such:
Box: 495858
4549 Bubble Smoke- Blue 15 Each * $1.59 = $23.85
27 Pop Goes The Wesle 3 Pack * $7.99 = $23.97
Box: 495859
9794 Booby Call 4 Each * $59.95 = $239.80
Box 495860
10050 Firecrackers 11 Bricks * $16.95 = $186.45
2945 Snakes 255 Boxes * $ 0.75 = $191.25
I need to put a total for each box and then at the end of the report a grand
total of all boxes with a number of boxes so I can produce an average amount.
price level for the customer and 2. the packing type returned (each, pack,
box, brick).
The query calculates the total of the return of each item.
My confussion lies in calculating the total for the group of items returned
in each box (which is individually bar coded). And then the total for the
overall return for th client.
Each client may return many boxes and each box may have many items.
When I try to sum my expression total for each item by the group (box it is
in) in my report it only calculates the last item listed. If i do it as sum
of all then I get the previous box total plus the sum of the last item in the
current box.
Report is as such:
Box: 495858
4549 Bubble Smoke- Blue 15 Each * $1.59 = $23.85
27 Pop Goes The Wesle 3 Pack * $7.99 = $23.97
Box: 495859
9794 Booby Call 4 Each * $59.95 = $239.80
Box 495860
10050 Firecrackers 11 Bricks * $16.95 = $186.45
2945 Snakes 255 Boxes * $ 0.75 = $191.25
I need to put a total for each box and then at the end of the report a grand
total of all boxes with a number of boxes so I can produce an average amount.