1 Solution
Hi David,
Thank you for contacting us. Please review the CustomerReports view (query) definition below:
SELECT Products.ProductName, Customers.CompanyName, Orders.OrderDate, CCur([Order Details].[UnitPrice]*[Quantity]*(1-[Discount])/100)*100 AS ProductAmount
FROM Products INNER JOIN ((Customers INNER JOIN Orders ON Customers.CustomerID = Orders.CustomerID) INNER JOIN [Order Details] ON Orders.OrderID = [Order Details].OrderID) ON Products.ProductID = [Order Details].ProductID;
I hope this will be of help.
Is your intention to post an answer to your own question?
- If so, then proceed.
- If you simply wanted to post additional information, ask for further clarification, or to just say "Thanks!", please click Leave a Comment.
- If you wish to edit your original question, please use the Edit button in the Toolbox at the top right corner of that entry.
Facebook
Twitter
Google+