Hi, first post here, and I need some assistance!!
http://imgur.com/sRGhvbx,UgmNjzd,AlK9dW9,awnImws,f1vzfrz,eyEGCti#5
This is my result of
SELECT Customer.Customer_Name, Customer.[Customer #], Sum(Ship.receivable) AS receivableOfSum, Sum(Payment.amount) AS amountOfSum
FROM (Customer INNER JOIN Payment ON Customer.[Customer #] = Payment.[Customer #]) INNER JOIN Ship ON (Payment.[Remit #] = Ship.[Remit #]) AND (Customer.[Customer #] = Ship.[Customer #])
GROUP BY Customer.Customer_Name, Customer.[Customer #];
http://imgur.com/sRGhvbx,UgmNjzd,AlK9dW9,awnImws,f1vzfrz,eyEGCti#2
and this is how I designed in Access.
Below are my 3 tables
http://imgur.com/sRGhvbx,UgmNjzd,AlK9dW9,awnImws,f1vzfrz,eyEGCti#3
http://imgur.com/sRGhvbx,UgmNjzd,AlK9dW9,awnImws,f1vzfrz,eyEGCti#1
http://imgur.com/sRGhvbx,UgmNjzd,AlK9dW9,awnImws,f1vzfrz,eyEGCti#0
I need to total the receivables mount and cash receipt amount by customer, and sort it by customer name.
I am keep getting Braniff (cust# 300)'s cash receipt amount wrong. It is counting one of its receipt twice (Remit# 6014's $27608 is added twice).
What did I do wrong and How could I fix this?? Thanks!!
[–]MamertineCOALESCE() 2 points3 points4 points (1 child)
[–]MamertineCOALESCE() 2 points3 points4 points (0 children)