N
NNlogistics
I have a query with 2 tables- tblOrder and tblOrderDetail. The detail
contains all the info about the product (code, quan,tax etc), the order
contains mostly the customer info, however it also contains the Shipping and
handling charge for the order. When I run the query, the SandHCharges appear
on each line. Which is fine there.
In the report, I move the fldSandHCharges to the order level, on the next
level, which is Sale Type I also want to total the SandHcharges for each
order. Say the SandH is $10.00. What I am getting is a total as if it where
charging the SandH for each item in the order. So if I have 3 orders with 5
items each, the total is coming as $150.00 (15 X 10) instead of $30.00.
I think my problem starts way back at the query, Maybe or not. Or it can
be adjused for in the report, Maybe.
Any ideas?
contains all the info about the product (code, quan,tax etc), the order
contains mostly the customer info, however it also contains the Shipping and
handling charge for the order. When I run the query, the SandHCharges appear
on each line. Which is fine there.
In the report, I move the fldSandHCharges to the order level, on the next
level, which is Sale Type I also want to total the SandHcharges for each
order. Say the SandH is $10.00. What I am getting is a total as if it where
charging the SandH for each item in the order. So if I have 3 orders with 5
items each, the total is coming as $150.00 (15 X 10) instead of $30.00.
I think my problem starts way back at the query, Maybe or not. Or it can
be adjused for in the report, Maybe.
Any ideas?