microsoftgirl
Registered User.
- Local time
- Today, 17:36
- Joined
- Oct 14, 2011
- Messages
- 13
I'm creating a query which includes multiple tables. A Product Details table, Transaction details table, and a Delivery details table.
I have set up a relationship between these tables with the ProductID.
Firstly I want to calculate the amount of Deliveries that the company have had. I have included ProductID and Delivery Quantity from the Delivery details table in the query. The ProductID total has been set to "Group by" and the Delivery Quantity has been set to Sum.
When I run the query, the total number of deliveries are being calculated correctly. However, the first result(First product) is doubling whatever the actual result is.
Does anyone know why it is doing this or how I can fix this? Try to keep it a little simple also, I'm new to databases.
I have set up a relationship between these tables with the ProductID.
Firstly I want to calculate the amount of Deliveries that the company have had. I have included ProductID and Delivery Quantity from the Delivery details table in the query. The ProductID total has been set to "Group by" and the Delivery Quantity has been set to Sum.
When I run the query, the total number of deliveries are being calculated correctly. However, the first result(First product) is doubling whatever the actual result is.
Does anyone know why it is doing this or how I can fix this? Try to keep it a little simple also, I'm new to databases.