I have 3 tables: CustomerT, ProductT and InvoiceT and I have related these tables together using foreign key and primary key. Each customer has multiple invoices and each invoice contains several products. I can sum the products of certain invoices in a query using Totals but I can't see which invoices do these products refer to. For example, I might have a sum of 12 computers sold to customer A in 3 invoices 102,204 and 250. I want to see these invoice numbers too. How can I show them in my query for my report?
Thanks in advance
Thanks in advance