Please see the attached document first.
I am trying to create a main query that I can then use to export all of this data into Pre-created Word documents.
I have tried several ways to create the query, changed relationships, etc., but I either get 1/2 of the data at a time (Top or bottom row information) or I get everything combined - but with several lines of repetition until I run out of inventory items.
I believe I need to be able to join the two together with a many-to-many relationship, but I'm not given (nor can I find) that option. I did try to create a Union.
SELECT Suppliers.[Accnt ID], Suppliers.Recycler, Suppliers.[Business Phone], Suppliers.[Fax Number], Suppliers.Address, Suppliers.Address2, Suppliers.City, Suppliers.[State/Province], Suppliers.[ZIP/Postal Code], Suppliers.[Country/Region], [Inventory Transactions Extended].[Transaction Item], [Inventory Transactions Extended].Quantity, [Inventory Transactions Extended].[Bid Control ID], [Inventory Transactions Extended].[Weight (lbs)], [Inventory Transactions Extended].[Pallet / Cage ID], [Inventory Transactions Extended].Bid, [Inventory Transactions Extended].[Shiper ID], [Inventory Transactions Extended].[Date Loaded], [Inventory Transactions Extended].[Date Shipped], [Inventory Transactions Extended].Recycler
FROM Suppliers INNER JOIN [Inventory Transactions Extended] ON Suppliers.ID = [Inventory Transactions Extended].[Transaction Type];
but as you'll see from the second image - it still is repeating the rows.
I am sure it's simple, what am I doing wrong.
Thanks in advance.
I am trying to create a main query that I can then use to export all of this data into Pre-created Word documents.
I have tried several ways to create the query, changed relationships, etc., but I either get 1/2 of the data at a time (Top or bottom row information) or I get everything combined - but with several lines of repetition until I run out of inventory items.
I believe I need to be able to join the two together with a many-to-many relationship, but I'm not given (nor can I find) that option. I did try to create a Union.
SELECT Suppliers.[Accnt ID], Suppliers.Recycler, Suppliers.[Business Phone], Suppliers.[Fax Number], Suppliers.Address, Suppliers.Address2, Suppliers.City, Suppliers.[State/Province], Suppliers.[ZIP/Postal Code], Suppliers.[Country/Region], [Inventory Transactions Extended].[Transaction Item], [Inventory Transactions Extended].Quantity, [Inventory Transactions Extended].[Bid Control ID], [Inventory Transactions Extended].[Weight (lbs)], [Inventory Transactions Extended].[Pallet / Cage ID], [Inventory Transactions Extended].Bid, [Inventory Transactions Extended].[Shiper ID], [Inventory Transactions Extended].[Date Loaded], [Inventory Transactions Extended].[Date Shipped], [Inventory Transactions Extended].Recycler
FROM Suppliers INNER JOIN [Inventory Transactions Extended] ON Suppliers.ID = [Inventory Transactions Extended].[Transaction Type];
but as you'll see from the second image - it still is repeating the rows.
I am sure it's simple, what am I doing wrong.
Thanks in advance.
Attachments
Last edited: